npm: revert previous change, share mysql sockets
This commit is contained in:
parent
d1d52cef34
commit
29da8bd6a4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue