Skip to content

Commit 871ed1b

Browse files
committed
Use mysql-config.cnf in docker-compose.yml
1 parent 76d0776 commit 871ed1b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ services:
1313
image: mysql:8
1414
ports:
1515
- "3307:3306"
16+
volumes:
17+
- ./docker/mysql-config.cnf:/etc/mysql/conf.d/config.cnf
1618
environment:
17-
MYSQL_DATABASE: php_mvc
1819
MYSQL_ROOT_PASSWORD: root
20+
MYSQL_DATABASE: php_mvc
1921
MYSQL_USER: php_mvc
2022
MYSQL_PASSWORD: php_mvc
File renamed without changes.

0 commit comments

Comments
 (0)