mirror of
https://github.com/Cian-H/openwebui_engineering_assistant.git
synced 2025-12-23 05:01:58 +00:00
Added healthchecks
This commit is contained in:
@@ -8,6 +8,11 @@ services:
|
|||||||
- "3000:8080"
|
- "3000:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- open-webui:/app/backend/data
|
- open-webui:/app/backend/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
|
||||||
|
interval: 60s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
environment:
|
environment:
|
||||||
WEBUI_AUTH: False
|
WEBUI_AUTH: False
|
||||||
WEBUI_URL: "http://localhost:3000/"
|
WEBUI_URL: "http://localhost:3000/"
|
||||||
@@ -86,6 +91,11 @@ services:
|
|||||||
- ./searxng/limiter.toml:/usr/local/searxng/searx/limiter.toml
|
- ./searxng/limiter.toml:/usr/local/searxng/searx/limiter.toml
|
||||||
- ./searxng/settings.yml:/usr/local/searxng/searx/settings.yml
|
- ./searxng/settings.yml:/usr/local/searxng/searx/settings.yml
|
||||||
- ./searxng/uwsgi.ini:/usr/local/searxng/searx/uwsgi.ini
|
- ./searxng/uwsgi.ini:/usr/local/searxng/searx/uwsgi.ini
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:8080/healthz"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
networks:
|
networks:
|
||||||
- webui
|
- webui
|
||||||
environment:
|
environment:
|
||||||
@@ -111,6 +121,11 @@ services:
|
|||||||
container_name: chroma
|
container_name: chroma
|
||||||
volumes:
|
volumes:
|
||||||
- chroma:/chroma/chroma
|
- chroma:/chroma/chroma
|
||||||
|
healthcheck:
|
||||||
|
test: [ "CMD", "/bin/bash", "-c", "cat < /dev/null > /dev/tcp/localhost/8000" ]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
networks:
|
networks:
|
||||||
- webui
|
- webui
|
||||||
environment:
|
environment:
|
||||||
@@ -143,6 +158,11 @@ services:
|
|||||||
blender:
|
blender:
|
||||||
image: ghcr.io/cian-h/simple_blender_server:main
|
image: ghcr.io/cian-h/simple_blender_server:main
|
||||||
container_name: blender
|
container_name: blender
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:1212/health"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
networks:
|
networks:
|
||||||
- webui
|
- webui
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user