diff --git a/jgpc/open-webui/docker-compose.yml b/jgpc/open-webui/docker-compose.yml new file mode 100644 index 0000000..5cc657a --- /dev/null +++ b/jgpc/open-webui/docker-compose.yml @@ -0,0 +1,25 @@ +services: + open-webui: + image: ghcr.io/open-webui/open-webui:main + container_name: open-webui + network_mode: host + restart: always + volumes: + - open-webui:/app/backend/data + environment: + - OLLAMA_BASE_URL=http://127.0.0.1:11434 + - PORT=8080 + - SCARF_NO_ANALYTICS=true + - DO_NOT_TRACK=true + - ANONYMIZED_TELEMETRY=false + - WHISPER_MODEL=base + - DOCKER=true + healthcheck: + test: ["CMD-SHELL", "curl --silent --fail http://localhost:8080/health || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + +volumes: + open-webui: + external: true