Skip to content

Commit 68ef796

Browse files
committed
✨ Update MySQL Port Configuration in Docker Compose
- Change MySQL port configuration in compose.yaml from dynamic environment variable to a static value of 3306 for both production and development environments, ensuring consistency in database connectivity.
1 parent 16109c2 commit 68ef796

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
environment:
1717
- NODE_ENV=production
1818
- DB_HOST=mysql
19-
- DB_PORT=${DB_PORT}
19+
- DB_PORT=3306
2020
- DB_DATABASE=${DB_DATABASE}
2121
- DB_USERNAME=${DB_USERNAME}
2222
- DB_PASSWORD=${DB_PASSWORD}
@@ -67,7 +67,7 @@ services:
6767
environment:
6868
- NODE_ENV=development
6969
- DB_HOST=mysql
70-
- DB_PORT=${DB_PORT}
70+
- DB_PORT=3306
7171
- DB_DATABASE=${DB_DATABASE}
7272
- DB_USERNAME=${DB_USERNAME}
7373
- DB_PASSWORD=${DB_PASSWORD}

0 commit comments

Comments
 (0)