Create usenet service

This commit is contained in:
Colin Hebert
2023-01-20 18:29:36 +01:00
parent 8358586442
commit 08069d9559
3 changed files with 48 additions and 0 deletions

View File

@@ -43,6 +43,8 @@ services:
networks: networks:
- traefik - traefik
- downloads - downloads
- torrents
- usenet
volumes: volumes:
- sonarr_config:/config/ - sonarr_config:/config/
- data:/data - data:/data
@@ -59,6 +61,8 @@ services:
networks: networks:
- traefik - traefik
- downloads - downloads
- torrents
- usenet
volumes: volumes:
- radarr_config:/config/ - radarr_config:/config/
- data:/data - data:/data

44
usenet/docker-compose.yml Normal file
View File

@@ -0,0 +1,44 @@
name: Usenet
services:
# Always create the usenet network even if the usenet profile is disabled
dummy:
image: tianon/true
networks:
- usenet
sabnzbd:
image: linuxserver/sabnzbd
profiles: [usenet]
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- traefik
- downloads
volumes:
- sabnzbd_config:/config
- usenet:/downloads
restart: unless-stopped
labels:
traefik.enable: true
networks:
usenet:
name: usenet
traefik:
external: true
volumes:
usenet:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}/usenet/
sabnzbd_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/usenet/volumes/sabnzbd_config/