Update docker-compose.yaml
Added traefik labels and network
This commit is contained in:
+17
-1
@@ -2,6 +2,18 @@ services:
|
||||
radarr:
|
||||
image: lscr.io/linuxserver/radarr:latest
|
||||
container_name: radarr
|
||||
networks:
|
||||
- traefik-public
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.monitor-only=true"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.radarr.rule=Host(`radarr.speerfam.net`)"
|
||||
- "traefik.http.routers.radarr.entrypoints=websecure"
|
||||
- "traefik.http.routers.radarr.tls.certresolver=myresolver"
|
||||
|
||||
# Pulling the security rules dynamically from our file provider setup
|
||||
- "traefik.http.routers.radarr.middlewares=geoblock-policy@file,crowdsec-policy@file,secure-headers@file"
|
||||
- "traefik.http.services.radarr.loadbalancer.server.port=7878"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
@@ -12,4 +24,8 @@ services:
|
||||
- /downloads/complete/movies:/downloads/movies #location of sabnzb output
|
||||
ports:
|
||||
- 7878:7878
|
||||
restart: always
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
Reference in New Issue
Block a user