Progress dump before ai agent
This commit is contained in:
113
ai/compose.yml
113
ai/compose.yml
@@ -139,44 +139,99 @@ services:
|
||||
- "303"
|
||||
- "26"
|
||||
|
||||
n8n:
|
||||
image: n8nio/n8n:latest
|
||||
container_name: n8n
|
||||
# n8n:
|
||||
# image: n8nio/n8n:latest
|
||||
# container_name: n8n
|
||||
# restart: unless-stopped
|
||||
# networks:
|
||||
# - traefik-net
|
||||
# environment:
|
||||
# - N8N_HOST=n8n.lazyworkhorse.net
|
||||
# - N8N_PORT=5678
|
||||
# - N8N_PROTOCOL=https
|
||||
# - NODE_ENV=production
|
||||
# - N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
|
||||
# - WEBHOOK_URL=https://n8n.lazyworkhorse.net/
|
||||
# - GENERIC_TIMEZONE=America/New_York # Adjust to your timezone
|
||||
# - N8N_BLOCK_EXTERNAL_STORAGE_ACCESS=false
|
||||
# - N8N_NODES_PYTHON_CAN_IMPORT_MODULES=true
|
||||
# - N8N_NATIVE_PYTHON_RUNNER=true
|
||||
# - N8N_PYTHON_ALLOW_STDLIB=uuid,re,os,json
|
||||
# - N8N_PYTHON_ALLOW_EXTERNAL=requests,pandas
|
||||
# - NODE_FUNCTION_ALLOW_EXTERNAL=uuid,requests
|
||||
# volumes:
|
||||
# - /mnt/HoardingCow_docker_data/n8n:/home/node/.n8n
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
|
||||
# # Router for HTTP + redirection to HTTPS
|
||||
# - "traefik.http.routers.n8n-http.rule=Host(`n8n.lazyworkhorse.net`)"
|
||||
# - "traefik.http.routers.n8n-http.entrypoints=web"
|
||||
# - "traefik.http.routers.n8n-http.middlewares=redirect-to-https"
|
||||
|
||||
# # Router for HTTPS with TLS
|
||||
# - "traefik.http.routers.n8n-https.rule=Host(`n8n.lazyworkhorse.net`)"
|
||||
# - "traefik.http.routers.n8n-https.entrypoints=websecure"
|
||||
# - "traefik.http.routers.n8n-https.tls=true"
|
||||
# - "traefik.http.routers.n8n-https.tls.certresolver=njalla"
|
||||
|
||||
# # Service Loadbalancer (n8n default port)
|
||||
# - "traefik.http.services.n8n.loadbalancer.server.port=5678"
|
||||
|
||||
openclaw:
|
||||
image: coollabsio/openclaw:latest
|
||||
container_name: openclaw
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- "8080" # WebUI
|
||||
- "18789" # Gateway/WebSocket
|
||||
- "8788" # Nextcloud Webhook
|
||||
networks:
|
||||
- traefik-net
|
||||
environment:
|
||||
- N8N_HOST=n8n.lazyworkhorse.net
|
||||
- N8N_PORT=5678
|
||||
- N8N_PROTOCOL=https
|
||||
- NODE_ENV=production
|
||||
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
|
||||
- WEBHOOK_URL=https://n8n.lazyworkhorse.net/
|
||||
- GENERIC_TIMEZONE=America/New_York # Adjust to your timezone
|
||||
- N8N_BLOCK_EXTERNAL_STORAGE_ACCESS=false
|
||||
- N8N_NODES_PYTHON_CAN_IMPORT_MODULES=true
|
||||
- N8N_NATIVE_PYTHON_RUNNER=true
|
||||
- N8N_PYTHON_ALLOW_STDLIB=uuid,re,os,json
|
||||
- N8N_PYTHON_ALLOW_EXTERNAL=requests,pandas
|
||||
- NODE_FUNCTION_ALLOW_EXTERNAL=uuid,requests
|
||||
volumes:
|
||||
- /mnt/HoardingCow_docker_data/n8n:/home/node/.n8n
|
||||
- /mnt/HoardingCow_docker_data/openclaw/data:/data
|
||||
- /home/gortium/infra:/data/workspace/infra
|
||||
environment:
|
||||
- TZ=America/Toronto
|
||||
- OPENCLAW_GATEWAY_TOKEN=${OPENCLAW_GATEWAY_TOKEN}
|
||||
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
|
||||
# Point to the sidecar browser
|
||||
- BROWSER_CDP_URL=http://openclaw-browser:9222
|
||||
- BROWSER_EVALUATE_ENABLED=true
|
||||
- OPENCLAW_GATEWAY_HOST=0.0.0.0
|
||||
- OPENCLAW_ALLOWED_ORIGINS=https://claw.lazyworkhorse.net
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
||||
# Router for HTTP + redirection to HTTPS
|
||||
- "traefik.http.routers.n8n-http.rule=Host(`n8n.lazyworkhorse.net`)"
|
||||
- "traefik.http.routers.n8n-http.entrypoints=web"
|
||||
- "traefik.http.routers.n8n-http.middlewares=redirect-to-https"
|
||||
- "traefik.http.routers.openclaw-http.rule=Host(`claw.lazyworkhorse.net`)"
|
||||
- "traefik.http.routers.openclaw-http.entrypoints=web"
|
||||
- "traefik.http.routers.openclaw-http.middlewares=redirect-to-https"
|
||||
|
||||
# Router for HTTPS with TLS
|
||||
- "traefik.http.routers.n8n-https.rule=Host(`n8n.lazyworkhorse.net`)"
|
||||
- "traefik.http.routers.n8n-https.entrypoints=websecure"
|
||||
- "traefik.http.routers.n8n-https.tls=true"
|
||||
- "traefik.http.routers.n8n-https.tls.certresolver=njalla"
|
||||
- "traefik.http.routers.openclaw-https.rule=Host(`claw.lazyworkhorse.net`)"
|
||||
- "traefik.http.routers.openclaw-https.priority=50"
|
||||
- "traefik.http.routers.openclaw-https.entrypoints=websecure"
|
||||
- "traefik.http.routers.openclaw-https.tls=true"
|
||||
- "traefik.http.routers.openclaw-https.tls.certresolver=njalla"
|
||||
- "traefik.http.services.openclaw.loadbalancer.server.port=8080"
|
||||
|
||||
# Service Loadbalancer (n8n default port)
|
||||
- "traefik.http.services.n8n.loadbalancer.server.port=5678"
|
||||
depends_on:
|
||||
- openclaw-browser
|
||||
|
||||
openclaw-browser:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
restart: always
|
||||
expose:
|
||||
- "3000"
|
||||
environment:
|
||||
- MAX_CONCURRENT_SESSIONS=10
|
||||
- CONNECTION_TIMEOUT=300000
|
||||
- PREBOOT_CHROME=true
|
||||
- DEMO_MODE=false
|
||||
networks:
|
||||
traefik-net:
|
||||
aliases:
|
||||
- browser
|
||||
|
||||
networks:
|
||||
traefik-net:
|
||||
|
||||
Reference in New Issue
Block a user