add openbooks
This commit is contained in:
parent
92abf4d0df
commit
d21e88306a
@ -31,6 +31,7 @@ in {
|
|||||||
nixosProfiles.seafile
|
nixosProfiles.seafile
|
||||||
nixosProfiles.cocalc
|
nixosProfiles.cocalc
|
||||||
# nixosProfiles.neko-browser
|
# nixosProfiles.neko-browser
|
||||||
|
nixosProfiles.openbooks
|
||||||
|
|
||||||
nixosProfiles.yandex-db
|
nixosProfiles.yandex-db
|
||||||
nixosProfiles.it-tools
|
nixosProfiles.it-tools
|
||||||
|
@ -76,6 +76,7 @@ in {
|
|||||||
"kavita.ataraxiadev.com"
|
"kavita.ataraxiadev.com"
|
||||||
"tools.ataraxiadev.com"
|
"tools.ataraxiadev.com"
|
||||||
"home.ataraxiadev.com"
|
"home.ataraxiadev.com"
|
||||||
|
"openbooks.ataraxiadev.com"
|
||||||
|
|
||||||
"matrix.ataraxiadev.com"
|
"matrix.ataraxiadev.com"
|
||||||
"cinny.ataraxiadev.com"
|
"cinny.ataraxiadev.com"
|
||||||
@ -194,6 +195,12 @@ in {
|
|||||||
"home.ataraxiadev.com" = default // authentik {
|
"home.ataraxiadev.com" = default // authentik {
|
||||||
root = { proxyPass = "http://127.0.0.1:3000"; };
|
root = { proxyPass = "http://127.0.0.1:3000"; };
|
||||||
};
|
};
|
||||||
|
"openbooks.ataraxiadev.com" = default // authentik {
|
||||||
|
root = {
|
||||||
|
proxyPass = "http://127.0.0.1:8097";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
"vw.ataraxiadev.com" = {
|
"vw.ataraxiadev.com" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:8812";
|
proxyPass = "http://127.0.0.1:8812";
|
||||||
|
15
profiles/servers/openbooks.nix
Normal file
15
profiles/servers/openbooks.nix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
backend = config.virtualisation.oci-containers.backend;
|
||||||
|
nas-path = "/media/nas/media-stack";
|
||||||
|
in {
|
||||||
|
virtualisation.oci-containers.containers.openbooks = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "docker.io/evanbuss/openbooks:4.5.0";
|
||||||
|
cmd = [ "--name" "AtaraxiaDev" "--persist" "--searchbot" "searchook" ];
|
||||||
|
ports = [ "127.0.0.1:8097:80/tcp" ];
|
||||||
|
volumes = [
|
||||||
|
"${nas-path}/media/books/openbooks:/books"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user