commit b9a523a877d1e0730bdbc8118d691c9f985c59c1 Author: Beda Schmid Date: Fri Oct 23 15:17:55 2026 +0000 Reset history to current sanitized state diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9151a4e --- /dev/null +++ b/.gitignore @@ -0,0 +1,32 @@ +# Application state and local recovery copies +/config/ +/appdata/ +/backups/ +/pre-cleanup/ + +# Local environment and secrets +.env +.env.* +*.env +*.env.* +/secrets/ +*.key +*.pem +*.p12 +*.pfx + +# Local editor and operating-system files +.DS_Store +*~ +*.swp + +# BEGIN reset-history environment exclusions +.env +.env.* +*.env +*.env.* +!.env.example +!.env.*.example +!*.env.example +!*.env.*.example +# END reset-history environment exclusions diff --git a/README.md b/README.md new file mode 100644 index 0000000..58d6d2f --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Sonarr + +Sonarr automates TV-series acquisition, organization, and upgrades for the shared Jellyfin series library. + +## Deployment layout + +- **Compose:** `/srv/docker/sonarr/docker-compose.yml` +- **Static configuration/source:** none beyond Compose; this is an image-only deployment +- **Non-secret environment:** PUID `1000`, PGID `1000`, and timezone `Etc/UTC` are declared inline in Compose; no project-local environment file is required +- **Secrets:** none separately mounted; application-managed API keys and integration credentials remain inside the protected Sonarr configuration +- **NVMe application state:** `/srv/appdata/sonarr/config` +- **Bulk HDD data:** no dedicated Sonarr directory; the shared series library is listed under Other mounts +- **Other mounts:** `/srv/downloads` read-write at `/downloads`, `/data/Data1/jellyfin/Series` read-write at `/series`, and `/etc/localtime` read-only + +Secrets are never committed to this repository. Protect the complete application +configuration and its backups because they contain credentials. Do not extract +application-managed credentials into deployment files. + +## Dependencies and recovery + +- **Networks/dependencies:** external Docker network `npm_proxy`, with Sonarr at `192.168.97.12`; existing reverse-proxy access; configured download clients and indexers; shared downloads and series storage. Confirm the active integrations in Sonarr. +- **Back up:** `/srv/appdata/sonarr/config`, the deployment repository, and `/data/Data1/jellyfin/Series` according to the media-backup policy. Actual backup coverage and restore testing must be verified. +- **Re-creatable:** the container from its image and Compose definition; preserve the complete configuration rather than selectively discarding its contents diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..dfa55c8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +services: + sonarr: + image: lscr.io/linuxserver/sonarr:latest + container_name: sonarr + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + volumes: + - /srv/appdata/sonarr/config:/config + - /srv/downloads:/downloads + - /etc/localtime:/etc/localtime:ro + - /data/Data1/jellyfin/Series:/series + restart: unless-stopped + networks: + npm_proxy: + ipv4_address: 192.168.97.12 + +networks: + npm_proxy: + external: true