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