diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 4dcfbf7..a1db475 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -41,4 +41,9 @@ handle @ente { reverse_proxy ente-photos:8080 } + + @sonarr host http://sonarr.akeley.tech + handle @ente { + reverse_proxy sonarr:8989 + } } diff --git a/config.scm b/config.scm index 525e42c..cec2d69 100644 --- a/config.scm +++ b/config.scm @@ -150,7 +150,21 @@ '("/data/shows" . "/shows") '("/data/movies" . "/movies") '("/data/music" . "/music")))) - + + (oci-container-configuration + (image "lscr.io/linuxserver/sonarr:latest") + (provision "sonarr") + (network "sandbox") + (ports '( + ("8989" . "8989"))) + (environment (list + '("PUID" . "1000") + '("PGID" . "1000") + '("TZ" . "US/America/Chicago"))) + (volumes (list + '("/data/docker/volumes/sonarr" . "/config") + '("/data/shows" . "/tv") + '("/home/bartronx7/downloads" . "/downloads")))) (oci-container-configuration (image "postgres:15")