Docker mysql port 층돌, 접속 오류 수정
This commit is contained in:
parent
7873968e4d
commit
0c3d31c129
@ -7,7 +7,7 @@ services:
|
|||||||
MYSQL_ROOT_PASSWORD: omHO7EEzHm52s9DlZD70P6KPKm2TbODC
|
MYSQL_ROOT_PASSWORD: omHO7EEzHm52s9DlZD70P6KPKm2TbODC
|
||||||
MYSQL_DATABASE: boilerplate
|
MYSQL_DATABASE: boilerplate
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "33061:3306"
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/mysql
|
- db-data:/var/lib/mysql
|
||||||
app:
|
app:
|
||||||
@ -25,5 +25,6 @@ services:
|
|||||||
DB_NAME: boilerplate
|
DB_NAME: boilerplate
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
|
@ -7,7 +7,7 @@ services:
|
|||||||
MYSQL_ROOT_PASSWORD: omHO7EEzHm52s9DlZD70P6KPKm2TbODC
|
MYSQL_ROOT_PASSWORD: omHO7EEzHm52s9DlZD70P6KPKm2TbODC
|
||||||
MYSQL_DATABASE: boilerplate
|
MYSQL_DATABASE: boilerplate
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "33061:3306"
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/mysql
|
- db-data:/var/lib/mysql
|
||||||
app:
|
app:
|
||||||
@ -25,6 +25,6 @@ services:
|
|||||||
DB_NAME: boilerplate
|
DB_NAME: boilerplate
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
|
@ -57,3 +57,6 @@ func (controller *tokenController) List(c *gin.Context) {
|
|||||||
|
|
||||||
c.JSON(http.StatusOK, result)
|
c.JSON(http.StatusOK, result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (controller *tokenController) Refresh(c *gin.Context) {
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user