Files
hx-ki.com2/repos/hxki-inventory/chaos/hxki_openwebui_install.sh
2026-03-06 15:22:40 +00:00

38 lines
846 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
set -e
echo "==> HX-KI OPENWEBUI INSTALLER FERRARI MODE"
# 1) Basisverzeichnisse
mkdir -p /opt/hx-ki/openwebui
mkdir -p /opt/hx-ki/docker
# 2) Docker-Compose-Datei NUR für OpenWebUI anlegen
cat >/opt/hx-ki/docker/docker-openwebui.yml <<'EOF'
services:
hxki-openwebui:
image: ghcr.io/open-webui/open-webui:main
container_name: hxki-openwebui
ports:
- "3002:3000"
volumes:
- /opt/hx-ki/openwebui:/data
environment:
- WEBUI_AUTH=False
restart: unless-stopped
networks:
- hxki-internal
networks:
hxki-internal:
external: true
EOF
# 3) OpenWebUI starten
cd /opt/hx-ki/docker
docker compose -f docker-openwebui.yml up -d
echo "==> OpenWebUI läuft jetzt auf Port 3002."
echo " URL: http://<FALKENSTEIN-IP>:3002"
echo "==> Keine anderen Container wurden verändert."