updated domain
This commit is contained in:
parent
e8c5c1e566
commit
a8e6fc4dff
6 changed files with 26 additions and 26 deletions
|
@ -1,12 +1,12 @@
|
|||
{ ... }:
|
||||
{ lib, ... }:
|
||||
let
|
||||
directories = [
|
||||
"/opt/freshrss"
|
||||
];
|
||||
directory = "/opt/freshrss";
|
||||
port = "8888";
|
||||
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 = {
|
||||
image = "freshrss/freshrss:latest";
|
||||
autoStart = true;
|
||||
|
@ -14,8 +14,8 @@ in
|
|||
"${port}:80"
|
||||
];
|
||||
volumes = [
|
||||
"/opt/freshrss/data:/var/www/FreshRSS/data"
|
||||
"/opt/freshrss/extensions:/var/www/FreshRSS/extensions"
|
||||
"${directory}/data:/var/www/FreshRSS/data"
|
||||
"${directory}/extensions:/var/www/FreshRSS/extensions"
|
||||
];
|
||||
environment = {
|
||||
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
|
||||
reverse_proxy http://localhost:${port}
|
||||
'';
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ ... }:
|
||||
{ lib, ... }:
|
||||
let
|
||||
directories = [
|
||||
"/opt/jellyfin"
|
||||
];
|
||||
directory = "/opt/jellyfin";
|
||||
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 = {
|
||||
image = "jellyfin/jellyfin:latest";
|
||||
autoStart = true;
|
||||
|
@ -14,13 +14,13 @@ in
|
|||
"8096:8096/tcp"
|
||||
];
|
||||
volumes = [
|
||||
"/opt/jellyfin/config:/config"
|
||||
"/opt/jellyfin/cache:/cache"
|
||||
"${directory}/config:/config"
|
||||
"${directory}/cache:/cache"
|
||||
"/lagoon/media:/media"
|
||||
];
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."jellyfin.tdback.net".extraConfig = ''
|
||||
services.caddy.virtualHosts."buttered.brownbread.net".extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy http://localhost:8096
|
||||
'';
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ ... }:
|
||||
{ lib, ... }:
|
||||
let
|
||||
directories = [
|
||||
"/opt/navidrome"
|
||||
];
|
||||
directory = "/opt/navidrome";
|
||||
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 = {
|
||||
image = "deluan/navidrome:latest";
|
||||
autoStart = true;
|
||||
|
@ -13,7 +13,7 @@ in
|
|||
"4533:4533"
|
||||
];
|
||||
volumes = [
|
||||
"/opt/navidrome/data:/data"
|
||||
"${directory}/data:/data"
|
||||
"/lagoon/media/music:/music:ro"
|
||||
];
|
||||
environment = {
|
||||
|
@ -24,7 +24,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."radio.tdback.net".extraConfig = ''
|
||||
services.caddy.virtualHosts."radioactive.brownbread.net".extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy http://localhost:4533
|
||||
'';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
domain = "crypt.tdback.net";
|
||||
domain = "steelmountain.brownbread.net";
|
||||
port = "11001";
|
||||
directory = "/opt/vaultwarden";
|
||||
in
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
domain = "mealie.tdback.net";
|
||||
domain = "toasted.brownbread.net";
|
||||
in
|
||||
{
|
||||
services.mealie = {
|
||||
|
|
|
@ -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
|
||||
encode zstd gzip
|
||||
reverse_proxy http://localhost:8080
|
||||
|
|
Loading…
Reference in a new issue