MySQL port is configurable through the .env file
This commit is contained in:
parent
77b616f2dd
commit
8f48a6f442
|
@ -27,9 +27,9 @@ services:
|
||||||
# Password for root access
|
# Password for root access
|
||||||
MYSQL_ROOT_PASSWORD: 'metin2'
|
MYSQL_ROOT_PASSWORD: 'metin2'
|
||||||
ports:
|
ports:
|
||||||
- '3306:3306'
|
- '${MYSQL_PORT}:${MYSQL_PORT}'
|
||||||
expose:
|
expose:
|
||||||
- 3306
|
- ${MYSQL_PORT}
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage/database/:/var/lib/mysql/
|
- ./storage/database/:/var/lib/mysql/
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
Loading…
Reference in New Issue