MySQL port is configurable through the .env file

This commit is contained in:
Exynox 2024-06-02 21:55:42 +03:00
parent ba15011669
commit 37ada3e96e
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: