1
1
Fork 0

open-webui: rename to openwebui

This commit is contained in:
Myned 2025-04-11 21:30:51 -05:00
parent 453a623511
commit 623257b720
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 9 additions and 9 deletions
options/custom/containers
profiles/server

View file

@ -4,26 +4,26 @@
...
}:
with lib; let
cfg = config.custom.containers.open-webui;
cfg = config.custom.containers.openwebui;
in {
options.custom.containers.open-webui = {
options.custom.containers.openwebui = {
enable = mkOption {default = false;};
};
config = mkIf cfg.enable {
#?? arion-open-webui pull
environment.shellAliases.arion-open-webui = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.open-webui.settings.out.dockerComposeYaml}";
#?? arion-openwebui pull
environment.shellAliases.arion-openwebui = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.openwebui.settings.out.dockerComposeYaml}";
virtualisation.arion.projects.open-webui.settings.services = {
virtualisation.arion.projects.openwebui.settings.services = {
# https://github.com/open-webui/open-webui
# https://docs.openwebui.com/getting-started/quick-start/
open-webui.service = {
container_name = "open-webui";
openwebui.service = {
container_name = "openwebui";
dns = ["100.100.100.100"]; # Tailscale resolver
image = "ghcr.io/open-webui/open-webui:0.6";
network_mode = "host";
restart = "unless-stopped";
volumes = ["${config.custom.containers.directory}/open-webui/data:/app/backend/data"];
volumes = ["${config.custom.containers.directory}/openwebui/data:/app/backend/data"];
environment = {
PORT = 3033; # 8080/tcp

View file

@ -22,8 +22,8 @@
miniflux.enable = true;
netbox.enable = true;
#// nextcloud.enable = true;
open-webui.enable = true;
nextcloudaio.enable = true;
openwebui.enable = true;
oryx.enable = true;
#// owncast.enable = true;
redlib.enable = true;