Files
openclaw-ditte-compose/compose.yml
2026-04-20 00:06:03 +00:00

25 lines
1.0 KiB
YAML

services:
openclaw-gateway:
image: ghcr.io/openclaw/openclaw:latest
container_name: openclaw-gateway
ports:
- "18789:18789" # Gør UI tilgængeligt for din NPM-maskine
environment:
- LLM_PROVIDER=openai
- OPENAI_API_KEY=${OPENAI_API_KEY}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- GATEWAY_TOKEN=${GATEWAY_TOKEN}
# Telegram integration:
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- TELEGRAM_ALLOWED_USER_IDS=${TELEGRAM_ALLOWED_USER_IDS}
# Tillad både http og https (NPM kan nogle gange sende http internt)
- GATEWAY_CONTROL_UI_ALLOWED_ORIGINS=https://ditteai.ckvist.dk,http://ditteai.ckvist.dk
# Fortæl OpenClaw at den skal stole på din NPM maskines IP
# Udskift 10.0.0.28 med den IP din NPM maskine har (den der ses i loggen)
- GATEWAY_TRUSTED_PROXIES=10.0.0.28,127.0.0.1
volumes:
- /datadisk/docker/openclaw-ditte/config:/root/.openclaw
- /datadisk/docker/openclaw-ditte/workspace:/root/openclaw/workspace
restart: unless-stopped