MySQL port is configurable through the .env file

This commit is contained in:
Exynox 2024-06-02 21:55:42 +03:00
parent 77b616f2dd
commit 8f48a6f442
1 changed files with 2 additions and 2 deletions

View File

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