From 42ca60f9149816db7ebbfa0ecbf265545d6f47cb Mon Sep 17 00:00:00 2001 From: Jagger Wang Date: Thu, 1 Feb 2024 16:33:13 +0800 Subject: [PATCH] MySQL mount custom conf --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index d73dac2b..d7506828 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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;"'