chatbot-ui -> big-agi
This commit is contained in:
parent
553155519c
commit
7cd59333cd
6 changed files with 25 additions and 27 deletions
23
hosts/servers/alexandria/big-agi.nix
Normal file
23
hosts/servers/alexandria/big-agi.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ inputs, config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers.containers."big-agi" = {
|
||||||
|
image = "ghcr.io/enricoros/big-agi:main";
|
||||||
|
ports = [ "${config.ports.big-agi}:3000" ];
|
||||||
|
environmentFiles = [ config.age.secrets.big-agi-keys.path ];
|
||||||
|
extraOptions = [ "--pull=always" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."chat.baduhai.me" = {
|
||||||
|
useACMEHost = "baduhai.me";
|
||||||
|
forceSSL = true;
|
||||||
|
kTLS = true;
|
||||||
|
locations."/".proxyPass = "http://127.0.0.1:${config.ports.big-agi}";
|
||||||
|
};
|
||||||
|
|
||||||
|
age.secrets.big-agi-keys = {
|
||||||
|
file = ../../../secrets/big-agi-keys.age;
|
||||||
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
{ inputs, config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
virtualisation.oci-containers.containers."chatbot-ui" = {
|
|
||||||
image = "ghcr.io/mckaywrigley/chatbot-ui:main";
|
|
||||||
ports = [ "${config.ports.chatbot-ui}:3000" ];
|
|
||||||
environmentFiles = [ config.age.secrets.chatbot-ui-keys.path ];
|
|
||||||
extraOptions = [ "--pull=always" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."chat.baduhai.me" = {
|
|
||||||
useACMEHost = "baduhai.me";
|
|
||||||
forceSSL = true;
|
|
||||||
kTLS = true;
|
|
||||||
locations."/".proxyPass = "http://127.0.0.1:${config.ports.chatbot-ui}";
|
|
||||||
};
|
|
||||||
|
|
||||||
age.secrets.chatbot-ui-keys = {
|
|
||||||
file = ../../../secrets/chatbot-ui-keys.age;
|
|
||||||
owner = "root";
|
|
||||||
group = "root";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -4,23 +4,21 @@
|
||||||
imports = [
|
imports = [
|
||||||
./actual.nix
|
./actual.nix
|
||||||
./arr.nix
|
./arr.nix
|
||||||
|
./big-agi.nix
|
||||||
./changedetection.nix
|
./changedetection.nix
|
||||||
./chatbot-ui.nix
|
./chatbot-ui.nix
|
||||||
./cinny.nix
|
./cinny.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./librespeed.nix
|
./librespeed.nix
|
||||||
# ./matrix.nix
|
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./paperless.nix
|
./paperless.nix
|
||||||
./searx.nix
|
|
||||||
./security.nix
|
./security.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
./shiori.nix
|
./shiori.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
./variables.nix
|
./variables.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
# ./whoogle.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
secrets/big-agi-keys.age
Normal file
BIN
secrets/big-agi-keys.age
Normal file
Binary file not shown.
Binary file not shown.
|
|
@ -11,7 +11,7 @@ let
|
||||||
|
|
||||||
all-hosts = desktops ++ servers;
|
all-hosts = desktops ++ servers;
|
||||||
in {
|
in {
|
||||||
|
"big-agi-keys.age".publicKeys = all-hosts;
|
||||||
"cloudflare-creds.age".publicKeys = all-hosts;
|
"cloudflare-creds.age".publicKeys = all-hosts;
|
||||||
"paperless-pass.age".publicKeys = all-hosts;
|
"paperless-pass.age".publicKeys = all-hosts;
|
||||||
"chatbot-ui-keys.age".publicKeys = all-hosts;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue