1
0
Fork 0

npm: revert previous change, share mysql sockets

This commit is contained in:
Lukáš Kucharczyk 2023-09-20 11:45:09 +02:00
parent d1d52cef34
commit 29da8bd6a4
1 changed files with 6 additions and 3 deletions

View File

@ -592,9 +592,10 @@ services:
depends_on: depends_on:
- mariadb - mariadb
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager-new/data:/data" - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/data:/data"
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager-new/letsencrypt:/etc/letsencrypt" - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt"
# - "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/98-themepark:/etc/cont-init.d/99-themepark" - sockets:/var/run/mysqld
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/98-themepark:/etc/cont-init.d/99-themepark"
environment: environment:
- DB_MYSQL_HOST=localhost - DB_MYSQL_HOST=localhost
- DB_MYSQL_NAME=npm - DB_MYSQL_NAME=npm
@ -636,6 +637,7 @@ services:
- "${MARIADB_EXTERNAL_PORT}:${MARIADB_INTERNAL_PORT}" - "${MARIADB_EXTERNAL_PORT}:${MARIADB_INTERNAL_PORT}"
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/mariadb:/config" - "${DOCKER_STORAGE_PATH}/mariadb:/config"
- sockets:/run/mysqld/
restart: unless-stopped restart: unless-stopped
profiles: profiles:
- infra - infra
@ -777,3 +779,4 @@ networks:
volumes: volumes:
timetracker-static: timetracker-static:
sockets: