Files
nas-compose/downloads.docker-compose.yml
Colin Hebert ba1b23c234 Fix typo
2023-01-04 17:42:59 +01:00

132 lines
3.0 KiB
YAML

name: Downloads
services:
dummy:
image: alpine
entrypoint: sleep infinity
volumes:
- torrents:/torrents/
- torrents_completed:/torrents/completed
dummyusenet:
image: alpine
entrypoint: sleep infinity
profiles: [usenet]
volumes:
- usenet:/usenet/
- usenet_completed:/usenet/completed
prowlarr:
image: linuxserver/prowlarr
networks:
- default
- traefik
- gotify
- downloads
dns:
- 1.1.1.1
- 1.0.0.1
volumes:
- prowlarr_config:/config/
restart: unless-stopped
labels:
traefik.enable: true
flaresolverr:
image: ngosang/flaresolverr:3.0.0.beta3 #TODO: Move to a stable version!
restart: unless-stopped
transmission:
image: haugene/transmission-openvpn
environment:
OPENVPN_PROVIDER: PIA
OPENVPN_CONFIG: ${NASCOMPOSE_TRANSMISSION_VPNREGION?}
OPENVPN_OPTS: --inactive 3600 --ping 10 --ping-exit 60
LOCAL_NETWORK: 192.168.0.0/16
TRANSMISSION_RPC_AUTHENTICATION_REQUIRED: true
cap_add:
- NET_ADMIN
networks:
- traefik
- downloads
dns:
- 1.1.1.1
- 1.0.0.1
volumes:
- transmission_config:/config/
- torrents:/data/
configs:
- source: transmission_openvpn_post_config
target: /scripts/openvpn-post-config.sh
secrets:
- source: transmission_rpc_creds
target: rpc_creds
- source: transmission_vpn_creds
target: openvpn_creds
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.services.transmission.loadbalancer.server.port: 9091
# TODO:
# NZBGet
networks:
downloads:
name: downloads
traefik:
external: true
gotify:
external: true
volumes:
torrents_completed:
name: torrents_completed
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/torrents/completed/
usenet_completed:
name: usenet_completed
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/usenet/completed/
torrents:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/torrents/
usenet:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/usenet/
prowlarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/prowlarr/config/
transmission_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/transmission/config/
transmission_scripts:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/transmission/scripts/
configs:
transmission_openvpn_post_config:
file: ${NASCOMPOSE_SERVICES?}/configs/transmission/openvpn-post-config.sh
secrets:
transmission_rpc_creds:
file: ${NASCOMPOSE_SERVICES?}/secrets/transmission/rpc_creds
transmission_vpn_creds:
file: ${NASCOMPOSE_SERVICES?}/secrets/transmission/vpn_creds