add inpx-web to hypervisor

This commit is contained in:
Dmitriy Kholkin 2023-12-30 04:42:09 +03:00
parent a191095334
commit c3e8325932
5 changed files with 26 additions and 0 deletions

View File

@ -26,6 +26,7 @@ in {
customProfiles.media-stack
# customProfiles.copyparty
customProfiles.inpx-web
customProfiles.seafile
customProfiles.spdf
# customProfiles.cocalc

View File

@ -23,6 +23,7 @@
{ name = "joplin.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
{ name = "kavita.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
{ name = "ldap.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
{ name = "lib.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
# { name = "mail.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
{ name = "matrix.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
{ name = "medusa.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
@ -69,6 +70,7 @@
{ name = "joplin.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
{ name = "kavita.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
{ name = "ldap.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
{ name = "lib.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
# { name = "mail.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
{ name = "matrix.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
{ name = "medusa.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }

View File

@ -22,6 +22,7 @@
"/joplin.ataraxiadev.com/192.168.0.10"
"/kavita.ataraxiadev.com/192.168.0.10"
"/ldap.ataraxiadev.com/192.168.0.10"
"/lib.ataraxiadev.com/192.168.0.10"
"/matrix.ataraxiadev.com/192.168.0.10"
"/medusa.ataraxiadev.com/192.168.0.10"
"/microbin.ataraxiadev.com/192.168.0.10"

View File

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }: let
nas-path = "/media/nas/media-stack";
in {
virtualisation.oci-containers.containers.inpx-web = {
autoStart = true;
image = "docker.io/ataraxiadev/inpx-web:latest";
ports = [ "127.0.0.1:8072:12380/tcp" ];
user = "1000:100";
volumes = [
"${nas-path}/media/other/flibusta:/library:ro"
"${nas-path}/configs/inpx-web:/app/data"
];
};
systemd.tmpfiles.rules = [
"d ${nas-path}/configs/inpx-web 0755 1000 100 -"
];
}

View File

@ -90,6 +90,7 @@ in {
"wg.ataraxiadev.com"
"wiki.ataraxiadev.com"
"pdf.ataraxiadev.com"
"lib.ataraxiadev.com"
"matrix.ataraxiadev.com"
"dimension.ataraxiadev.com"
@ -300,6 +301,9 @@ in {
"pdf.ataraxiadev.com" = default // authentik {
proxyPass = "http://127.0.0.1:8071";
};
"lib.ataraxiadev.com" = default // authentik {
proxyPass = "http://127.0.0.1:8072";
};
"medusa.ataraxiadev.com" = {
locations."/" = {
proxyPass = "http://127.0.0.1:8180";