Add OpenClaw to AI stack
This commit is contained in:
@@ -8,3 +8,6 @@ OPENWEBUI_DB_PASS=changeme
|
||||
|
||||
# Scriberr — Hugging Face token for model downloads
|
||||
HF_TOKEN=changeme
|
||||
|
||||
# OpenClaw — generate with: openssl rand -hex 32
|
||||
OPENCLAW_GATEWAY_TOKEN=changeme
|
||||
|
||||
@@ -128,3 +128,29 @@ services:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
|
||||
openclaw:
|
||||
container_name: openclaw
|
||||
image: ghcr.io/openclaw/openclaw:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- ai-net
|
||||
- ai-services
|
||||
- pangolin
|
||||
ports:
|
||||
- "18789:18789"
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN}
|
||||
OPENCLAW_DISABLE_BONJOUR: "1"
|
||||
volumes:
|
||||
- /mnt/docker-ssd/docker/appdata/openclaw/config:/home/node/.openclaw
|
||||
- /mnt/docker-ssd/docker/appdata/openclaw/workspace:/home/node/.openclaw/workspace
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:18789/healthz || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 90s
|
||||
|
||||
Reference in New Issue
Block a user