Made external MySQL port configurable
This commit is contained in:
parent
9667cc3001
commit
8235bd8e85
|
@ -3,6 +3,7 @@ MYSQL_HOST=mysql
|
||||||
MYSQL_USER=root
|
MYSQL_USER=root
|
||||||
MYSQL_PASSWORD=metin2
|
MYSQL_PASSWORD=metin2
|
||||||
MYSQL_PORT=3306
|
MYSQL_PORT=3306
|
||||||
|
MYSQL_EXTERNAL_PORT=3306
|
||||||
MYSQL_DB_ACCOUNT=account
|
MYSQL_DB_ACCOUNT=account
|
||||||
MYSQL_DB_PLAYER=player
|
MYSQL_DB_PLAYER=player
|
||||||
MYSQL_DB_COMMON=common
|
MYSQL_DB_COMMON=common
|
||||||
|
|
|
@ -27,7 +27,7 @@ services:
|
||||||
# Password for root access
|
# Password for root access
|
||||||
MYSQL_ROOT_PASSWORD: 'metin2'
|
MYSQL_ROOT_PASSWORD: 'metin2'
|
||||||
ports:
|
ports:
|
||||||
- '${MYSQL_PORT}:${MYSQL_PORT}'
|
- '${MYSQL_EXTERNAL_PORT}:${MYSQL_PORT}'
|
||||||
expose:
|
expose:
|
||||||
- ${MYSQL_PORT}
|
- ${MYSQL_PORT}
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue