readarr
master
This commit is contained in:
parent
1c43b68661
commit
7b27442adc
@ -15,8 +15,7 @@ services:
|
|||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
delay: 60s
|
delay: 5s
|
||||||
window: 120s
|
|
||||||
|
|
||||||
jackett:
|
jackett:
|
||||||
image: linuxserver/jackett
|
image: linuxserver/jackett
|
||||||
@ -26,28 +25,31 @@ services:
|
|||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
volumes:
|
volumes:
|
||||||
- jackett_config:/config
|
- jackett_config:/config
|
||||||
- data:/data
|
- downloads:/downloads
|
||||||
ports:
|
# ports:
|
||||||
- target: 9117
|
# - target: 9117
|
||||||
published: ${JACKETTPORT}
|
# published: ${JACKETTPORT}
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
mode: host
|
# mode: host
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external
|
||||||
- tornet
|
- tornet
|
||||||
- internal
|
- internal
|
||||||
healthcheck:
|
- traefik-net
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:9117"]
|
|
||||||
interval: 1m30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
delay: 60s
|
delay: 5s
|
||||||
window: 120s
|
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:
|
radarr:
|
||||||
image: linuxserver/radarr
|
image: linuxserver/radarr
|
||||||
@ -57,29 +59,18 @@ services:
|
|||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
volumes:
|
volumes:
|
||||||
- radarr_config:/config
|
- radarr_config:/config
|
||||||
- data:/data
|
- downloads:/downloads
|
||||||
ports:
|
- radarr_movies:/movies
|
||||||
- target: 7878
|
|
||||||
published: ${RADARRPORT}
|
|
||||||
protocol: tcp
|
|
||||||
mode: host
|
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external # tymczasowo do momentku kiedy nie naprawia radarr-a
|
||||||
- tornet
|
- tornet
|
||||||
- internal
|
- internal
|
||||||
- traefik-net
|
- traefik-net
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:7878"]
|
|
||||||
interval: 1m30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
delay: 60s
|
delay: 5s
|
||||||
window: 120s
|
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.frontend.rule: "Host:radarr.${HOSTDOMAIN}"
|
traefik.frontend.rule: "Host:radarr.${HOSTDOMAIN}"
|
||||||
@ -97,29 +88,18 @@ services:
|
|||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
volumes:
|
volumes:
|
||||||
- sonarr_config:/config
|
- sonarr_config:/config
|
||||||
- data:/data
|
- downloads:/downloads
|
||||||
ports:
|
- sonarr_tvs:/tv
|
||||||
- target: 8989
|
|
||||||
published: ${SONARRPORT}
|
|
||||||
protocol: tcp
|
|
||||||
mode: host
|
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external # tymczasowo do momentku kiedy nie naprawia sonarr-a
|
||||||
- tornet
|
- tornet
|
||||||
- traefik-net
|
- traefik-net
|
||||||
- internal
|
- internal
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8989"]
|
|
||||||
interval: 1m30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
delay: 60s
|
delay: 5s
|
||||||
window: 120s
|
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.frontend.rule: "Host:sonarr.${HOSTDOMAIN}"
|
traefik.frontend.rule: "Host:sonarr.${HOSTDOMAIN}"
|
||||||
@ -137,24 +117,14 @@ services:
|
|||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
volumes:
|
volumes:
|
||||||
- lidarr_config:/config
|
- lidarr_config:/config
|
||||||
- data:/data
|
- downloads:/downloads
|
||||||
|
- lidarr_audio:/audio
|
||||||
- /dev/null:/music
|
- /dev/null:/music
|
||||||
ports:
|
|
||||||
- target: 8686
|
|
||||||
published: ${LIDARRPORT}
|
|
||||||
protocol: tcp
|
|
||||||
mode: host
|
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external
|
||||||
- tornet
|
- tornet
|
||||||
- traefik-net
|
- traefik-net
|
||||||
- internal
|
- internal
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8686"]
|
|
||||||
interval: 1m30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@ -170,6 +140,36 @@ services:
|
|||||||
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
traefik.frontend.headers.STSIncludeSubdomains: "true"
|
||||||
traefik.frontend.headers.STSPreload: "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:
|
bazarr:
|
||||||
image: linuxserver/bazarr
|
image: linuxserver/bazarr
|
||||||
environment:
|
environment:
|
||||||
@ -178,28 +178,18 @@ services:
|
|||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
volumes:
|
volumes:
|
||||||
- bazarr_config:/config
|
- bazarr_config:/config
|
||||||
- data:/data
|
- downloads:/downloads
|
||||||
ports:
|
- sonarr_tvs:/tv
|
||||||
- target: 6767
|
- radarr_movies:/movies
|
||||||
published: ${BAZARRPORT}
|
|
||||||
protocol: tcp
|
|
||||||
mode: host
|
|
||||||
networks:
|
networks:
|
||||||
- external # tymczasowo do momentku kiedy nie naprawia sonarr-a
|
- external # tymczasowo do momentku kiedy nie naprawia sonarr-a
|
||||||
- tornet
|
- tornet
|
||||||
- traefik-net
|
- traefik-net
|
||||||
- internal
|
- internal
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:6767"]
|
|
||||||
interval: 1m30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
|
||||||
delay: 5s
|
delay: 5s
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
@ -223,10 +213,10 @@ services:
|
|||||||
published: ${DELUGEDAEMONPORT}
|
published: ${DELUGEDAEMONPORT}
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: host
|
mode: host
|
||||||
- target: 8112
|
# - target: 8112
|
||||||
published: ${DELUGEWEBUIPORT}
|
# published: 8112
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
mode: host
|
# mode: host
|
||||||
- target: ${DELUGEINCOMINGPORT}
|
- target: ${DELUGEINCOMINGPORT}
|
||||||
published: ${DELUGEINCOMINGPORT}
|
published: ${DELUGEINCOMINGPORT}
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
@ -240,23 +230,33 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
- deluge_config:/config
|
- deluge_config:/config
|
||||||
- data:/data
|
- downloads:/downloads
|
||||||
- /dev/null:/downloads
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8112"]
|
|
||||||
interval: 1m30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
delay: 60s
|
delay: 5s
|
||||||
window: 120s
|
|
||||||
|
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:
|
smb:
|
||||||
image: dperson-samba:armhf
|
image: dperson-samba:armhf
|
||||||
|
# image: dperson/samba
|
||||||
|
# image: quentinb69/samba:dperson
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
- USERID=${PUID}
|
- USERID=${PUID}
|
||||||
@ -269,34 +269,43 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- external
|
- external
|
||||||
volumes:
|
volumes:
|
||||||
- data:/data
|
- downloads:/downloads
|
||||||
|
- sonarr_tvs:/tv
|
||||||
|
- radarr_movies:/movies
|
||||||
|
- lidarr_audio:/audio
|
||||||
|
- readarr_books:/books
|
||||||
- jackett_config:/configs/jackett
|
- jackett_config:/configs/jackett
|
||||||
- radarr_config:/configs/radarr
|
- radarr_config:/configs/radarr
|
||||||
- sonarr_config:/configs/sonarr
|
- sonarr_config:/configs/sonarr
|
||||||
- deluge_config:/configs/deluge
|
- deluge_config:/configs/deluge
|
||||||
- bazarr_config:/configs/bazarr
|
- bazarr_config:/configs/bazarr
|
||||||
- lidarr_config:/configs/lidarr
|
- lidarr_config:/configs/lidarr
|
||||||
|
- readarr_config:/configs/readarr
|
||||||
- smb_lib:/var/lib/samba
|
- smb_lib:/var/lib/samba
|
||||||
- smb_run:/run/samba
|
- smb_run:/run/samba
|
||||||
- smb_etc:/etc
|
- smb_etc:/etc
|
||||||
- smb_cache:/var/cache/samba
|
- smb_cache:/var/cache/samba
|
||||||
- smb_log:/var/log/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;/data/tv;yes;no;no;${SMBADMIN},${SMBUSER},${SMBUSERMEDIA}" -s "audio;/data/audio;yes;no;no;${SMBADMIN},${SMBUSER},${SMBUSERMEDIA}" -s "movies;/data/movies;yes;no;no;${SMBADMIN},${SMBUSER},${SMBUSERMEDIA}" -s "downloads;/data/downloads;yes;no;no;${SMBADMIN},${SMBUSER}"' #Note, you should only provide one command statement
|
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:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
delay: 60s
|
delay: 5s
|
||||||
window: 120s
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
downloads:
|
||||||
jackett_config:
|
jackett_config:
|
||||||
radarr_config:
|
radarr_config:
|
||||||
|
radarr_movies:
|
||||||
sonarr_config:
|
sonarr_config:
|
||||||
|
sonarr_tvs:
|
||||||
deluge_config:
|
deluge_config:
|
||||||
bazarr_config:
|
bazarr_config:
|
||||||
lidarr_config:
|
lidarr_config:
|
||||||
|
lidarr_audio:
|
||||||
|
readarr_config:
|
||||||
|
readarr_books:
|
||||||
smb_lib:
|
smb_lib:
|
||||||
smb_run:
|
smb_run:
|
||||||
smb_etc:
|
smb_etc:
|
||||||
@ -311,20 +320,16 @@ networks:
|
|||||||
internal:
|
internal:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
internal: true
|
internal: true
|
||||||
|
prometheus_prometheus-net:
|
||||||
|
external: true
|
||||||
traefik-net:
|
traefik-net:
|
||||||
external: true
|
external: true
|
||||||
internal: true
|
|
||||||
|
|
||||||
### Environment variables
|
### Environment variables
|
||||||
# HOSTDOMAIN example.net
|
# HOSTDOMAIN example.net
|
||||||
# JACKETTPORT 9117
|
# JACKETTPORT 9117
|
||||||
# DELUGEINCOMINGPORT 62054
|
# DELUGEINCOMINGPORT 62054
|
||||||
# DELUGEDAEMONPORT 58846
|
# DELUGEDAEMONPORT 58846
|
||||||
# DELUGEWEBUIPORT 8112
|
|
||||||
# RADARRPORT 7878
|
|
||||||
# SONARRPORT 8989
|
|
||||||
# BAZARRPORT 6767
|
|
||||||
# LIDARRPORT 8686
|
|
||||||
# SMBPORT 445
|
# SMBPORT 445
|
||||||
# SMBADMIN admin
|
# SMBADMIN admin
|
||||||
# SMBADMINPASS adminPass
|
# SMBADMINPASS adminPass
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user