342 lines
8.4 KiB
YAML
342 lines
8.4 KiB
YAML
version: '3.4'
|
|
services:
|
|
torproxy:
|
|
image: dockage-tor-privoxy
|
|
# environment:
|
|
# ports:
|
|
# - target: 9050
|
|
# published: 9050
|
|
# protocol: tcp
|
|
# mode: host
|
|
networks:
|
|
- external
|
|
- tornet
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
|
|
jackett:
|
|
image: linuxserver/jackett
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
volumes:
|
|
- jackett_config:/config
|
|
- downloads:/downloads
|
|
# ports:
|
|
# - target: 9117
|
|
# published: ${JACKETTPORT}
|
|
# protocol: tcp
|
|
# mode: host
|
|
networks:
|
|
- external
|
|
- tornet
|
|
- internal
|
|
- traefik-net
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.frontend.rule: "Host:jackett.lan"
|
|
traefik.port: 9117
|
|
traefik.frontend.entryPoints: localhttp,localhttps
|
|
traefik.docker.network: traefik-net
|
|
traefik.frontend.headers.STSSeconds: 63072000
|
|
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
|
traefik.frontend.headers.STSPreload: "true"
|
|
|
|
radarr:
|
|
image: linuxserver/radarr
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
volumes:
|
|
- radarr_config:/config
|
|
- downloads:/downloads
|
|
- radarr_movies:/movies
|
|
networks:
|
|
- external # tymczasowo do momentku kiedy nie naprawia radarr-a
|
|
- tornet
|
|
- internal
|
|
- traefik-net
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.frontend.rule: "Host:radarr.${HOSTDOMAIN}"
|
|
traefik.port: 7878
|
|
traefik.docker.network: traefik-net
|
|
traefik.frontend.headers.STSSeconds: 63072000
|
|
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
|
traefik.frontend.headers.STSPreload: "true"
|
|
|
|
sonarr:
|
|
image: linuxserver/sonarr
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
volumes:
|
|
- sonarr_config:/config
|
|
- downloads:/downloads
|
|
- sonarr_tvs:/tv
|
|
networks:
|
|
- external # tymczasowo do momentku kiedy nie naprawia sonarr-a
|
|
- tornet
|
|
- traefik-net
|
|
- internal
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.frontend.rule: "Host:sonarr.${HOSTDOMAIN}"
|
|
traefik.port: 8989
|
|
traefik.docker.network: traefik-net
|
|
traefik.frontend.headers.STSSeconds: 63072000
|
|
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
|
traefik.frontend.headers.STSPreload: "true"
|
|
|
|
lidarr:
|
|
image: linuxserver/lidarr
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
volumes:
|
|
- lidarr_config:/config
|
|
- downloads:/downloads
|
|
- lidarr_audio:/audio
|
|
- /dev/null:/music
|
|
networks:
|
|
- external
|
|
- tornet
|
|
- traefik-net
|
|
- internal
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 60s
|
|
window: 120s
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.frontend.rule: "Host:lidarr.${HOSTDOMAIN}"
|
|
traefik.port: 8686
|
|
traefik.docker.network: traefik-net
|
|
traefik.frontend.headers.STSSeconds: 63072000
|
|
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
|
traefik.frontend.headers.STSPreload: "true"
|
|
|
|
readarr:
|
|
image: linuxserver/readarr:nightly
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
volumes:
|
|
- readarr_config:/config
|
|
- downloads:/downloads
|
|
- readarr_books:/books
|
|
networks:
|
|
- external
|
|
- tornet
|
|
- traefik-net
|
|
- internal
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.frontend.rule: "Host:readarr.${HOSTDOMAIN}"
|
|
traefik.port: 8787
|
|
traefik.docker.network: traefik-net
|
|
traefik.frontend.headers.STSSeconds: 63072000
|
|
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
|
traefik.frontend.headers.STSPreload: "true"
|
|
|
|
|
|
bazarr:
|
|
image: linuxserver/bazarr
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
volumes:
|
|
- bazarr_config:/config
|
|
- downloads:/downloads
|
|
- sonarr_tvs:/tv
|
|
- radarr_movies:/movies
|
|
networks:
|
|
- external # tymczasowo do momentku kiedy nie naprawia sonarr-a
|
|
- tornet
|
|
- traefik-net
|
|
- internal
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.frontend.rule: "Host:bazarr.${HOSTDOMAIN}"
|
|
traefik.port: 6767
|
|
traefik.docker.network: traefik-net
|
|
traefik.frontend.headers.STSSeconds: 63072000
|
|
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
|
traefik.frontend.headers.STSPreload: "true"
|
|
|
|
deluge:
|
|
image: linuxserver/deluge
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- DELUGE_LOGLEVEL=info #optional
|
|
# network_mode: host
|
|
ports:
|
|
- target: 58846
|
|
published: ${DELUGEDAEMONPORT}
|
|
protocol: tcp
|
|
mode: host
|
|
# - target: 8112
|
|
# published: 8112
|
|
# protocol: tcp
|
|
# mode: host
|
|
- target: ${DELUGEINCOMINGPORT}
|
|
published: ${DELUGEINCOMINGPORT}
|
|
protocol: tcp
|
|
mode: host
|
|
- target: ${DELUGEINCOMINGPORT}
|
|
published: ${DELUGEINCOMINGPORT}
|
|
protocol: udp
|
|
mode: host
|
|
networks:
|
|
- external
|
|
- internal
|
|
volumes:
|
|
- deluge_config:/config
|
|
- downloads:/downloads
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
|
|
deluge_exporter:
|
|
image: tobbez/deluge_exporter
|
|
environment:
|
|
- DELUGE_HOST=deluge
|
|
- DELUGE_CONFIG_DIR=/config
|
|
networks:
|
|
- internal
|
|
- prometheus_prometheus-net
|
|
volumes:
|
|
- deluge_config:/config:ro
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
|
|
smb:
|
|
image: dperson-samba:armhf
|
|
# image: dperson/samba
|
|
# image: quentinb69/samba:dperson
|
|
environment:
|
|
- TZ=${TZ}
|
|
- USERID=${PUID}
|
|
- GROUPID=${PGID}
|
|
ports:
|
|
- target: 445
|
|
published: ${SMBPORT}
|
|
protocol: tcp
|
|
mode: host
|
|
networks:
|
|
- external
|
|
volumes:
|
|
- downloads:/downloads
|
|
- sonarr_tvs:/tv
|
|
- radarr_movies:/movies
|
|
- lidarr_audio:/audio
|
|
- readarr_books:/books
|
|
- jackett_config:/configs/jackett
|
|
- radarr_config:/configs/radarr
|
|
- sonarr_config:/configs/sonarr
|
|
- deluge_config:/configs/deluge
|
|
- bazarr_config:/configs/bazarr
|
|
- lidarr_config:/configs/lidarr
|
|
- readarr_config:/configs/readarr
|
|
- smb_lib:/var/lib/samba
|
|
- smb_run:/run/samba
|
|
- smb_etc:/etc
|
|
- smb_cache:/var/cache/samba
|
|
- smb_log:/var/log/samba
|
|
command: '-u "${SMBADMIN};${SMBADMINPASS}" -u "${SMBUSER};${SMBUSERPASS}" -u "${SMBUSERMEDIA};${SMBUSERMEDIAPASS}" -s "configs;/configs;yes;no;no;${SMBADMIN}" -s "tv shows;/tv;yes;no;no;${SMBADMIN},${SMBUSER},${SMBUSERMEDIA}" -s "audio;/audio;yes;no;no;${SMBADMIN},${SMBUSER},${SMBUSERMEDIA}" -s "movies;/movies;yes;no;no;${SMBADMIN},${SMBUSER},${SMBUSERMEDIA}" -s "books;/books;yes;no;no;${SMBADMIN},${SMBUSER},${SMBUSERMEDIA}" -s "downloads;/downloads;yes;no;no;${SMBADMIN},${SMBUSER}"' #Note, you should only provide one command statement
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
restart_policy:
|
|
delay: 5s
|
|
|
|
volumes:
|
|
downloads:
|
|
jackett_config:
|
|
radarr_config:
|
|
radarr_movies:
|
|
sonarr_config:
|
|
sonarr_tvs:
|
|
deluge_config:
|
|
bazarr_config:
|
|
lidarr_config:
|
|
lidarr_audio:
|
|
readarr_config:
|
|
readarr_books:
|
|
smb_lib:
|
|
smb_run:
|
|
smb_etc:
|
|
smb_cache:
|
|
smb_log:
|
|
|
|
networks:
|
|
tornet:
|
|
driver: overlay
|
|
internal: true
|
|
external:
|
|
internal:
|
|
driver: overlay
|
|
internal: true
|
|
prometheus_prometheus-net:
|
|
external: true
|
|
traefik-net:
|
|
external: true
|
|
|
|
### Environment variables
|
|
# HOSTDOMAIN example.net
|
|
# JACKETTPORT 9117
|
|
# DELUGEINCOMINGPORT 62054
|
|
# DELUGEDAEMONPORT 58846
|
|
# SMBPORT 445
|
|
# SMBADMIN admin
|
|
# SMBADMINPASS adminPass
|
|
# SMBUSER user
|
|
# SMBUSERPASS userPass
|
|
# SMBUSERMEDIA media
|
|
# SMBUSERMEDIAPASS mediaPass
|
|
# PUID 1000
|
|
# PGID 1000
|
|
# TZ Europe/Warsaw |