From 474828739bd1717e228f6a99007b632ee57501e8 Mon Sep 17 00:00:00 2001 From: Kipjr <12066560+Kipjr@users.noreply.github.com> Date: Sat, 15 Jun 2024 23:56:35 +0200 Subject: [PATCH] Use /docker-entrypoint-initdb.d --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 06b11cc..25ec138 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ volumes: driver: local db: driver: local + initdb: + driver: local networks: net: @@ -38,6 +40,7 @@ services: TZ: 'Europe/Amsterdam' volumes: - db:/var/lib/mysql + - initdb:/docker-entrypoint-initdb.d mw.php: hostname: mw.php