Create usenet service
This commit is contained in:
@@ -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
44
usenet/docker-compose.yml
Normal 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/
|
||||||
Reference in New Issue
Block a user