open-webui: rename to openwebui
This commit is contained in:
parent
453a623511
commit
623257b720
2 changed files with 9 additions and 9 deletions
|
@ -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
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue