Prepend _data suffix for data volumes

This commit is contained in:
Colin Hebert
2022-12-28 18:15:01 +01:00
parent 2e73056646
commit 06795b970e
3 changed files with 8 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ services:
- docker
- traefik
volumes:
- portainer:/data
- portainer_data:/data
secrets:
- portainer_password
depends_on:
@@ -64,7 +64,7 @@ networks:
nas-compose.boostrap: true
volumes:
portainer:
portainer_data:
driver_opts:
type: none
o: bind

View File

@@ -10,7 +10,7 @@ services:
- gotify
- traefik
volumes:
- gotify:/app/data
- gotify_data:/app/data
secrets:
- admin_password
restart: unless-stopped
@@ -25,7 +25,7 @@ networks:
external: true
volumes:
gotify:
gotify_data:
driver_opts:
type: none
o: bind

View File

@@ -22,7 +22,7 @@ services:
networks:
- traefik
volumes:
- smokeping:/data
- smokeping_data:/data
#configs:
# - source: smokeping
# target: /config/
@@ -42,7 +42,7 @@ services:
networks:
- gotify
volumes:
- ddclient:/data
- ddclient_data:/data
configs:
- source: ddclient
target: /config/ddclient.conf.tpl
@@ -62,12 +62,12 @@ networks:
external: true
volumes:
smokeping:
smokeping_data:
driver_opts:
type: none
o: bind
device: ${MOUNT_DIR?}/smokeping/data/
ddclient:
ddclient_data:
driver_opts:
type: none
o: bind