Skip to content

Commit

Permalink
MySQL mount custom conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jaggerwang committed Feb 1, 2024
1 parent 0862bfd commit 42ca60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- 8191:3306
volumes:
- mysql-data:/var/lib/mysql
- ./deploy/mysql/custom.cnf:/etc/mysql/conf.d
- ./deploy/mysql/custom.cnf:/etc/mysql/conf.d/custom.cnf
- ./deploy/mysql/migration:/docker-entrypoint-initdb.d
healthcheck:
test: '/usr/bin/mysql --user=xtreme1 --password=Rc4K3L6f --execute "SHOW DATABASES;"'
Expand Down

0 comments on commit 42ca60f

Please sign in to comment.