MySQL port is configurable through the .env file
This commit is contained in:
parent
ba15011669
commit
37ada3e96e
|
@ -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