Docker mysql port 층돌, 접속 오류 수정

This commit is contained in:
JongYeob Sheen 2023-10-20 13:20:23 +09:00
parent 7873968e4d
commit 0c3d31c129
3 changed files with 7 additions and 3 deletions

View File

@ -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:

View File

@ -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:

View File

@ -57,3 +57,6 @@ func (controller *tokenController) List(c *gin.Context) {
c.JSON(http.StatusOK, result)
}
func (controller *tokenController) Refresh(c *gin.Context) {
}