MySQL port is configurable through the .env file

This commit is contained in:
Exynox 2024-06-02 21:55:42 +03:00
parent 367ef01a40
commit 806e9d826f
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ services:
# Password for root access
MYSQL_ROOT_PASSWORD: 'metin2'
ports:
- '3306:3306'
- '${MYSQL_PORT}:${MYSQL_PORT}'
expose:
- 3306
- ${MYSQL_PORT}
volumes:
- ./storage/database/:/var/lib/mysql/
healthcheck: