Keep consistent /data structure between containers

This commit is contained in:
Colin Hebert
2023-05-20 04:33:21 +10:00
parent 95c0344629
commit f1317c9224
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ services:
- /dev/net/tun:/dev/net/tun - /dev/net/tun:/dev/net/tun
volumes: volumes:
- ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/volumes/qbittorrent_config/:/config/ - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/volumes/qbittorrent_config/:/config/
- ${NASCOMPOSE_DATA?}/torrents${TORRENT_SUFFIX?}/:/data/ - ${NASCOMPOSE_DATA?}/torrents${TORRENT_SUFFIX?}/:/data}/torrents${TORRENT_SUFFIX?}/
# Configuration # Configuration
- ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/01-natpmp-install:/etc/cont-init.d/01-natpmp-install:ro - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/01-natpmp-install:/etc/cont-init.d/01-natpmp-install:ro
- ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/98-gateway-setup:/etc/cont-init.d/98-gateway-setup:ro - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/98-gateway-setup:/etc/cont-init.d/98-gateway-setup:ro
@@ -75,7 +75,7 @@ services:
volumes: volumes:
- ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/volumes/qbitmanage_config/:/config/ - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/volumes/qbitmanage_config/:/config/
- ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/volumes/qbittorrent_config/data/BT_backup/:/torrents/:ro - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/volumes/qbittorrent_config/data/BT_backup/:/torrents/:ro
- ${NASCOMPOSE_DATA?}/torrents${TORRENT_SUFFIX?}/:/data/ - ${NASCOMPOSE_DATA?}/torrents${TORRENT_SUFFIX?}/:/data}/torrents${TORRENT_SUFFIX?}/
networks: networks:
torrents: torrents:

View File

@@ -22,7 +22,7 @@ services:
- 1.0.0.1 - 1.0.0.1
volumes: volumes:
- ${NASCOMPOSE_SERVICES?}/usenet/volumes/sabnzbd_config/:/config/ - ${NASCOMPOSE_SERVICES?}/usenet/volumes/sabnzbd_config/:/config/
- ${NASCOMPOSE_DATA?}/usenet/:/data/ - ${NASCOMPOSE_DATA?}/usenet/:/data/usenet/
restart: unless-stopped restart: unless-stopped
labels: labels:
traefik.enable: true traefik.enable: true