add restart policy for gluetun
All checks were successful
deploy media services / deploy (push) Successful in 1m39s

This commit is contained in:
Elias Ahokas
2026-03-10 20:22:15 +02:00
parent 0a00036662
commit f92e6c5bf0

View File

@@ -51,18 +51,19 @@ services:
network_mode: "service:gluetun" network_mode: "service:gluetun"
restart: unless-stopped restart: unless-stopped
sonarr: #automation scuffed.. will be fixed soon
image: lscr.io/linuxserver/sonarr:latest #sonarr:
container_name: sonarr # image: lscr.io/linuxserver/sonarr:latest
environment: # container_name: sonarr
- PUID=1000 # environment:
- PGID=1000 # - PUID=1000
- TZ=Europe/Helsinki # - PGID=1000
volumes: # - TZ=Europe/Helsinki
- /var/lib/z420/sonarr_data:/config # volumes:
- /mnt/data:/data # - /var/lib/z420/sonarr_data:/config
network_mode: "service:gluetun" # - /mnt/data:/data
restart: unless-stopped # network_mode: "service:gluetun"
# restart: unless-stopped
radarr: radarr:
image: lscr.io/linuxserver/radarr:latest image: lscr.io/linuxserver/radarr:latest
@@ -80,6 +81,7 @@ services:
gluetun: gluetun:
image: qmcgaw/gluetun image: qmcgaw/gluetun
container_name: gluetun container_name: gluetun
restart: unless-stopped
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
devices: devices: