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 - docker
- traefik - traefik
volumes: volumes:
- portainer:/data - portainer_data:/data
secrets: secrets:
- portainer_password - portainer_password
depends_on: depends_on:
@@ -64,7 +64,7 @@ networks:
nas-compose.boostrap: true nas-compose.boostrap: true
volumes: volumes:
portainer: portainer_data:
driver_opts: driver_opts:
type: none type: none
o: bind o: bind

View File

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

View File

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