From 29da8bd6a4aed92158957db46239692f79c05650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 20 Sep 2023 11:45:09 +0200 Subject: [PATCH] npm: revert previous change, share mysql sockets --- docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 72b88dd..8eb15bd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -592,9 +592,10 @@ services: depends_on: - mariadb volumes: - - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager-new/data:/data" - - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager-new/letsencrypt:/etc/letsencrypt" - # - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/98-themepark:/etc/cont-init.d/99-themepark" + - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/data:/data" + - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt" + - sockets:/var/run/mysqld + - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/98-themepark:/etc/cont-init.d/99-themepark" environment: - DB_MYSQL_HOST=localhost - DB_MYSQL_NAME=npm @@ -636,6 +637,7 @@ services: - "${MARIADB_EXTERNAL_PORT}:${MARIADB_INTERNAL_PORT}" volumes: - "${DOCKER_STORAGE_PATH}/mariadb:/config" + - sockets:/run/mysqld/ restart: unless-stopped profiles: - infra @@ -777,3 +779,4 @@ networks: volumes: timetracker-static: + sockets: