From 1a9c03f0943b29bb8993ee40469f9514d7e607a6 Mon Sep 17 00:00:00 2001 From: Beda Schmid Date: Fri, 23 Oct 2026 15:43:20 +0000 Subject: [PATCH] Reset history to current sanitized state --- .gitignore | 33 +++++++++++++++++++++++++++++++++ README.md | 22 ++++++++++++++++++++++ docker-compose.yml | 19 +++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1499bca --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +# Application state and local recovery copies +/config/ +/appdata/ +/backups/ +/pre-cleanup/ +/downloads/ + +# Environment and secrets +.env +.env.* +*.env +*.env.* +/secrets/ +*.key +*.pem +*.p12 +*.pfx + +# 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..57150d7 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# SABnzbd + +SABnzbd downloads and processes Usenet jobs for the homelab's media applications. + +## Deployment layout + +- **Compose:** `/srv/docker/sabnzbd/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 +- **Secrets:** none separately mounted; application-managed API keys and provider/integration credentials remain inside the protected SABnzbd configuration +- **NVMe application state:** `/srv/appdata/sabnzbd/config` +- **Bulk HDD data:** none directly mounted +- **Other mounts:** `/srv/downloads` read-write at `/downloads` for shared NVMe download staging, verification, repair, unpacking, and completed-job handoff + +Secrets are never committed to this repository. Protect the complete +application configuration and its backups because they contain credentials. + +## Dependencies and recovery + +- **Networks/dependencies:** external `npm_proxy` network at `192.168.97.18`, existing reverse-proxy access, configured Usenet providers, shared download storage, and media applications submitting jobs and importing completed downloads +- **Back up:** `/srv/appdata/sabnzbd/config` and the deployment repository; preserve `/srv/downloads` when retaining in-progress jobs or completed files awaiting import. Actual backup coverage and restore testing must be verified. +- **Re-creatable:** the container from its image and Compose definition; download payloads can only be reacquired while their sources remain available diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f7dc79d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,19 @@ +services: + sabnzbd: + image: lscr.io/linuxserver/sabnzbd:latest + container_name: sabnzbd + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + volumes: + - /srv/appdata/sabnzbd/config:/config + - /srv/downloads:/downloads:rw + restart: unless-stopped + networks: + npm_proxy: + ipv4_address: 192.168.97.18 + +networks: + npm_proxy: + external: true