bye
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
home = "/media/nas/ssd/nix-app-data/ollama";
|
||||
};
|
||||
|
||||
services.llama-cpp = {
|
||||
enable = true;
|
||||
port = 10400;
|
||||
host = "0.0.0.0";
|
||||
openFirewall = true;
|
||||
model = "/media/nas/ssd/nix-app-data/llama-cpp/models/functionary-small-v3.2-GGUF";
|
||||
};
|
||||
# services.llama-cpp = {
|
||||
# enable = true;
|
||||
# port = 10400;
|
||||
# host = "0.0.0.0";
|
||||
# openFirewall = true;
|
||||
# model = "/media/nas/ssd/nix-app-data/llama-cpp/models/functionary-small-v3.2-GGUF";
|
||||
# };
|
||||
|
||||
services.open-webui = {
|
||||
enable = true;
|
||||
@@ -31,13 +31,14 @@
|
||||
OPENID_REDIRECT_URI = "https://chat.mjallen.dev/oauth/oidc/callback";
|
||||
ENABLE_OAUTH_SIGNUP = "False";
|
||||
OAUTH_MERGE_ACCOUNTS_BY_EMAIL = "True";
|
||||
ENABLE_SIGNUP = "True";
|
||||
ENABLE_LOGIN_FORM = "True";
|
||||
ENABLE_SIGNUP = "False";
|
||||
ENABLE_LOGIN_FORM = "False";
|
||||
ANONYMIZED_TELEMETRY = "False";
|
||||
DO_NOT_TRACK = "True";
|
||||
SCARF_NO_ANALYTICS = "True";
|
||||
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434";
|
||||
LOCAL_FILES_ONLY = "False";
|
||||
WEBUI_AUTH = "False";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -226,14 +226,14 @@ in
|
||||
priority = 10;
|
||||
tls.certResolver = "letsencrypt";
|
||||
};
|
||||
open-webui = {
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`chat.${domain}`)";
|
||||
service = "chat";
|
||||
# middlewares = [ "authentik" ];
|
||||
priority = 10;
|
||||
tls.certResolver = "letsencrypt";
|
||||
};
|
||||
# open-webui = {
|
||||
# entryPoints = [ "websecure" ];
|
||||
# rule = "Host(`chat.${domain}`)";
|
||||
# service = "chat";
|
||||
# # middlewares = [ "authentik" ];
|
||||
# priority = 10;
|
||||
# tls.certResolver = "letsencrypt";
|
||||
# };
|
||||
cache = {
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`cache.${domain}`)";
|
||||
|
||||
Reference in New Issue
Block a user