Compare commits
3 Commits
dae138ccbf
...
94759f48f7
Author | SHA1 | Date |
---|---|---|
Ciapa | 94759f48f7 | |
Ciapa | d662af337f | |
Ciapa | bb905ea921 |
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
lidarr = {
|
lidarr = {
|
||||||
image = "youegraillot/lidarr-on-steroids";
|
image = "resun83/lidarr-on-steroids";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = [
|
ports = [
|
||||||
"127.0.0.1:8686:8686"
|
"127.0.0.1:8686:8686"
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
services.navidrome = {
|
||||||
|
enable = true;
|
||||||
|
configuration = {
|
||||||
|
Address = "127.0.0.1";
|
||||||
|
Port = 4533;
|
||||||
|
MusicFolder = "/mnt/data/media/MusicNew";
|
||||||
|
BaseUrl = "https://kinda.sus.lol/music";
|
||||||
|
EnableSharing = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -9,6 +9,21 @@
|
||||||
virtualHosts."kinda.sus.lol" = {
|
virtualHosts."kinda.sus.lol" = {
|
||||||
serverName = "kinda.sus.lol";
|
serverName = "kinda.sus.lol";
|
||||||
locations = {
|
locations = {
|
||||||
|
"/music" = {
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_pass http://127.0.0.1:4533;
|
||||||
|
proxy_read_timeout 900;
|
||||||
|
proxy_connect_timeout 900;
|
||||||
|
proxy_send_timeout 900;
|
||||||
|
send_timeout 900;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection $http_connection;
|
||||||
|
'';
|
||||||
|
};
|
||||||
"/admin/sonarr" = {
|
"/admin/sonarr" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
auth_basic "Show slit";
|
auth_basic "Show slit";
|
||||||
|
@ -43,6 +58,40 @@
|
||||||
proxy_set_header Connection $http_connection;
|
proxy_set_header Connection $http_connection;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
"/admin/lidarr" = {
|
||||||
|
extraConfig = ''
|
||||||
|
auth_basic "Show slit";
|
||||||
|
auth_basic_user_file /run/secrets/services/nginx/admin.htpasswd;
|
||||||
|
proxy_pass http://127.0.0.1:8686;
|
||||||
|
proxy_read_timeout 900;
|
||||||
|
proxy_connect_timeout 900;
|
||||||
|
proxy_send_timeout 900;
|
||||||
|
send_timeout 900;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection $http_connection;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"/admin/deemix" = {
|
||||||
|
extraConfig = ''
|
||||||
|
auth_basic "Show slit";
|
||||||
|
auth_basic_user_file /run/secrets/services/nginx/admin.htpasswd;
|
||||||
|
proxy_pass http://127.0.0.1:6595;
|
||||||
|
proxy_read_timeout 900;
|
||||||
|
proxy_connect_timeout 900;
|
||||||
|
proxy_send_timeout 900;
|
||||||
|
send_timeout 900;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection $http_connection;
|
||||||
|
'';
|
||||||
|
};
|
||||||
"/admin/prowlarr" = {
|
"/admin/prowlarr" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
auth_basic "Show slit";
|
auth_basic "Show slit";
|
||||||
|
|
Loading…
Reference in New Issue