mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-14 00:13:04 -04:00
add radarr
This commit is contained in:
parent
2f2b116890
commit
de910497fa
3 changed files with 46 additions and 0 deletions
12
common/users/docker/radarr/default.nix
Normal file
12
common/users/docker/radarr/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
home = {
|
||||||
|
file = {
|
||||||
|
sonarr_compose = {
|
||||||
|
source = ./docker-compose.yml;
|
||||||
|
target = "./src/radarr/docker-compose.yml";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
14
common/users/docker/radarr/docker-compose.yml
Normal file
14
common/users/docker/radarr/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
services:
|
||||||
|
radarr:
|
||||||
|
image: lscr.io/linuxserver/radarr:latest
|
||||||
|
container_name: radarr
|
||||||
|
environment:
|
||||||
|
- PUID=107
|
||||||
|
- PGID=1002
|
||||||
|
- TZ=America/New_York
|
||||||
|
volumes:
|
||||||
|
- /storage/radarrConf:/config
|
||||||
|
- /storage/movies:/storage/movies
|
||||||
|
- /storage/downloads:/storage/downloads
|
||||||
|
ports:
|
||||||
|
- 7878:7878
|
20
common/users/docker/radarr/nginx.nix
Normal file
20
common/users/docker/radarr/nginx.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
|
||||||
|
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
nginx = {
|
||||||
|
virtualHosts = {
|
||||||
|
"radarr.sadan.zip" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = "sadan.zip";
|
||||||
|
locations = {
|
||||||
|
"/" = {
|
||||||
|
proxyPass = "http://localhost:9696";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue