ai-telegram-bot / docker-compose.yml
abbasyk60's picture
Docker compose config
c32406b verified
Raw
History Blame Contribute Delete
525 Bytes
version: '3.8'
services:
openclaw-bot:
build: .
container_name: openclaw-bot
restart: unless-stopped
ports:
- "7860:7860"
environment:
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- CLOUDFLARE_PROXY_URL=${CLOUDFLARE_PROXY_URL}
- BASE_URL=http://localhost:7860
volumes:
- ./data:/app/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860/"]
interval: 30s
timeout: 10s
retries: 3