--- version: "2.1" services: sonarr: image: lscr.io/linuxserver/sonarr:latest container_name: sonarr environment: - PUID=1000 - PGID=1000 volumes: - /infra/sonarr:/config - /infra/downloads:/downloads #optional network_mode: host restart: unless-stopped