initial COM2 system snapshot
This commit is contained in:
37
repos/hxki-inventory/chaos/hxki_openwebui_install.sh
Executable file
37
repos/hxki-inventory/chaos/hxki_openwebui_install.sh
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/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."
|
||||
Reference in New Issue
Block a user