From 37ada3e96e6fc47c9795ea9b5f5c37b57f7debed Mon Sep 17 00:00:00 2001 From: Exynox Date: Sun, 2 Jun 2024 21:55:42 +0300 Subject: [PATCH] MySQL port is configurable through the .env file --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8c43eae..3c0bd1f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: