services: sonarr: image: ghcr.io/linuxserver/sonarr:latest container_name: SONARR healthcheck: test: curl -f http://localhost:8989/ || exit 1 restart: on-failure:5 security_opt: - no-new-privileges:true volumes: - /volume2/data:/data:rw - /volume2/docker/sonarr:/config:rw environment: TZ: America/Los_Angeles PGID: 100 PUID: 1026 ports: - 8989:8989