mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-04-01 21:21:57 -04:00
add prowlarr
This commit is contained in:
parent
83305c352e
commit
d55c93bfaf
3 changed files with 44 additions and 0 deletions
11
common/users/docker/prowlarr/default.nix
Normal file
11
common/users/docker/prowlarr/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
{
|
||||
home = {
|
||||
file = {
|
||||
prowlarr_compose = {
|
||||
source = ./docker-compose.yml;
|
||||
target = "./src/prowlarr/docker-compose.yml";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
14
common/users/docker/prowlarr/docker-compose.yml
Normal file
14
common/users/docker/prowlarr/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
services:
|
||||
prowlarr:
|
||||
image: lscr.io/linuxserver/prowlarr:latest
|
||||
container_name: prowlarr
|
||||
environment:
|
||||
- PUID=106
|
||||
- PGID=1002
|
||||
- TS=America/New_York
|
||||
volumes:
|
||||
- /storage/prowlarrConf:/config
|
||||
ports:
|
||||
- 9696:9696
|
||||
restart: unless-stopped
|
||||
|
19
common/users/docker/prowlarr/nginx.nix
Normal file
19
common/users/docker/prowlarr/nginx.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
{ ... }:
|
||||
{
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts = {
|
||||
"prowlarr.sadan.zip" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "sadan.zip";
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://localhost:9696";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue