add inpx-web to hypervisor
This commit is contained in:
parent
a191095334
commit
c3e8325932
@ -26,6 +26,7 @@ in {
|
|||||||
|
|
||||||
customProfiles.media-stack
|
customProfiles.media-stack
|
||||||
# customProfiles.copyparty
|
# customProfiles.copyparty
|
||||||
|
customProfiles.inpx-web
|
||||||
customProfiles.seafile
|
customProfiles.seafile
|
||||||
customProfiles.spdf
|
customProfiles.spdf
|
||||||
# customProfiles.cocalc
|
# customProfiles.cocalc
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
{ name = "joplin.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
|
{ name = "joplin.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
|
||||||
{ name = "kavita.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 = "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 = "mail.ataraxiadev.com"; type = "A"; value = "100.64.0.3"; }
|
||||||
{ name = "matrix.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"; }
|
{ 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 = "joplin.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
|
||||||
{ name = "kavita.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 = "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 = "mail.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
|
||||||
{ name = "matrix.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"; }
|
{ name = "medusa.ataraxiadev.com"; type = "AAAA"; value = "fd7a:115c:a1e0::3"; }
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
"/joplin.ataraxiadev.com/192.168.0.10"
|
"/joplin.ataraxiadev.com/192.168.0.10"
|
||||||
"/kavita.ataraxiadev.com/192.168.0.10"
|
"/kavita.ataraxiadev.com/192.168.0.10"
|
||||||
"/ldap.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"
|
"/matrix.ataraxiadev.com/192.168.0.10"
|
||||||
"/medusa.ataraxiadev.com/192.168.0.10"
|
"/medusa.ataraxiadev.com/192.168.0.10"
|
||||||
"/microbin.ataraxiadev.com/192.168.0.10"
|
"/microbin.ataraxiadev.com/192.168.0.10"
|
||||||
|
18
profiles/servers/inpx-web.nix
Normal file
18
profiles/servers/inpx-web.nix
Normal 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 -"
|
||||||
|
];
|
||||||
|
}
|
@ -90,6 +90,7 @@ in {
|
|||||||
"wg.ataraxiadev.com"
|
"wg.ataraxiadev.com"
|
||||||
"wiki.ataraxiadev.com"
|
"wiki.ataraxiadev.com"
|
||||||
"pdf.ataraxiadev.com"
|
"pdf.ataraxiadev.com"
|
||||||
|
"lib.ataraxiadev.com"
|
||||||
|
|
||||||
"matrix.ataraxiadev.com"
|
"matrix.ataraxiadev.com"
|
||||||
"dimension.ataraxiadev.com"
|
"dimension.ataraxiadev.com"
|
||||||
@ -300,6 +301,9 @@ in {
|
|||||||
"pdf.ataraxiadev.com" = default // authentik {
|
"pdf.ataraxiadev.com" = default // authentik {
|
||||||
proxyPass = "http://127.0.0.1:8071";
|
proxyPass = "http://127.0.0.1:8071";
|
||||||
};
|
};
|
||||||
|
"lib.ataraxiadev.com" = default // authentik {
|
||||||
|
proxyPass = "http://127.0.0.1:8072";
|
||||||
|
};
|
||||||
"medusa.ataraxiadev.com" = {
|
"medusa.ataraxiadev.com" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:8180";
|
proxyPass = "http://127.0.0.1:8180";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user