diff --git a/.env.example b/.env.example index ccb4a0d..39056b9 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ MYSQL_HOST=mysql MYSQL_USER=root MYSQL_PASSWORD=metin2 MYSQL_PORT=3306 +MYSQL_EXTERNAL_PORT=3306 MYSQL_DB_ACCOUNT=account MYSQL_DB_PLAYER=player MYSQL_DB_COMMON=common diff --git a/docker-compose.yml b/docker-compose.yml index 0f914c6..275079a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: # Password for root access MYSQL_ROOT_PASSWORD: 'metin2' ports: - - '${MYSQL_PORT}:${MYSQL_PORT}' + - '${MYSQL_EXTERNAL_PORT}:${MYSQL_PORT}' expose: - ${MYSQL_PORT} volumes: