updated domain

This commit is contained in:
tdback 2024-11-26 21:43:36 -05:00
parent e8c5c1e566
commit a8e6fc4dff
6 changed files with 26 additions and 26 deletions

View file

@ -1,12 +1,12 @@
{ ... }: { lib, ... }:
let let
directories = [ directory = "/opt/freshrss";
"/opt/freshrss"
];
port = "8888"; port = "8888";
in in
{ {
systemd.tmpfiles.rules = map (x: "d ${x} 0755 share share - -") directories; systemd.tmpfiles.rules =
map (x: "d ${x} 0755 share share - -") (lib.lists.singleton directory);
virtualisation.oci-containers.containers.freshrss = { virtualisation.oci-containers.containers.freshrss = {
image = "freshrss/freshrss:latest"; image = "freshrss/freshrss:latest";
autoStart = true; autoStart = true;
@ -14,8 +14,8 @@ in
"${port}:80" "${port}:80"
]; ];
volumes = [ volumes = [
"/opt/freshrss/data:/var/www/FreshRSS/data" "${directory}/data:/var/www/FreshRSS/data"
"/opt/freshrss/extensions:/var/www/FreshRSS/extensions" "${directory}/extensions:/var/www/FreshRSS/extensions"
]; ];
environment = { environment = {
TZ = "America/Detroit"; TZ = "America/Detroit";
@ -23,7 +23,7 @@ in
}; };
}; };
services.caddy.virtualHosts."newspaper.tdback.net".extraConfig = '' services.caddy.virtualHosts."fresh.brownbread.net".extraConfig = ''
encode zstd gzip encode zstd gzip
reverse_proxy http://localhost:${port} reverse_proxy http://localhost:${port}
''; '';

View file

@ -1,11 +1,11 @@
{ ... }: { lib, ... }:
let let
directories = [ directory = "/opt/jellyfin";
"/opt/jellyfin"
];
in in
{ {
systemd.tmpfiles.rules = map (x: "d ${x} 0755 share share - -") directories; systemd.tmpfiles.rules =
map (x: "d ${x} 0755 share share - -") (lib.lists.singleton directory);
virtualisation.oci-containers.containers.jellyfin = { virtualisation.oci-containers.containers.jellyfin = {
image = "jellyfin/jellyfin:latest"; image = "jellyfin/jellyfin:latest";
autoStart = true; autoStart = true;
@ -14,13 +14,13 @@ in
"8096:8096/tcp" "8096:8096/tcp"
]; ];
volumes = [ volumes = [
"/opt/jellyfin/config:/config" "${directory}/config:/config"
"/opt/jellyfin/cache:/cache" "${directory}/cache:/cache"
"/lagoon/media:/media" "/lagoon/media:/media"
]; ];
}; };
services.caddy.virtualHosts."jellyfin.tdback.net".extraConfig = '' services.caddy.virtualHosts."buttered.brownbread.net".extraConfig = ''
encode zstd gzip encode zstd gzip
reverse_proxy http://localhost:8096 reverse_proxy http://localhost:8096
''; '';

View file

@ -1,11 +1,11 @@
{ ... }: { lib, ... }:
let let
directories = [ directory = "/opt/navidrome";
"/opt/navidrome"
];
in in
{ {
systemd.tmpfiles.rules = map (x: "d ${x} 0755 share share - -") directories; systemd.tmpfiles.rules =
map (x: "d ${x} 0755 share share - -") (lib.lists.singleton directory);
virtualisation.oci-containers.containers.navidrome = { virtualisation.oci-containers.containers.navidrome = {
image = "deluan/navidrome:latest"; image = "deluan/navidrome:latest";
autoStart = true; autoStart = true;
@ -13,7 +13,7 @@ in
"4533:4533" "4533:4533"
]; ];
volumes = [ volumes = [
"/opt/navidrome/data:/data" "${directory}/data:/data"
"/lagoon/media/music:/music:ro" "/lagoon/media/music:/music:ro"
]; ];
environment = { environment = {
@ -24,7 +24,7 @@ in
}; };
}; };
services.caddy.virtualHosts."radio.tdback.net".extraConfig = '' services.caddy.virtualHosts."radioactive.brownbread.net".extraConfig = ''
encode zstd gzip encode zstd gzip
reverse_proxy http://localhost:4533 reverse_proxy http://localhost:4533
''; '';

View file

@ -1,6 +1,6 @@
{ lib, ... }: { lib, ... }:
let let
domain = "crypt.tdback.net"; domain = "steelmountain.brownbread.net";
port = "11001"; port = "11001";
directory = "/opt/vaultwarden"; directory = "/opt/vaultwarden";
in in

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
domain = "mealie.tdback.net"; domain = "toasted.brownbread.net";
in in
{ {
services.mealie = { services.mealie = {

View file

@ -13,7 +13,7 @@
}; };
}; };
services.caddy.virtualHosts."${config.networking.hostName}.tdback.net".extraConfig = '' services.caddy.virtualHosts."${config.networking.hostName}.brownbread.net".extraConfig = ''
root * /web/client root * /web/client
encode zstd gzip encode zstd gzip
reverse_proxy http://localhost:8080 reverse_proxy http://localhost:8080