Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m5s
29 lines
912 B
YAML
29 lines
912 B
YAML
services:
|
|
clawdbot:
|
|
container_name: clawdbot
|
|
image: gitea.lemarechal.eu/aydent/clawdbot:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- GOOGLE_API_KEY
|
|
- DISCORD_BOT_TOKEN
|
|
- CLAWDBOT_GATEWAY_TOKEN
|
|
- XDG_CONFIG_HOME=/home/node/.clawdbot
|
|
volumes:
|
|
- /opt/clawdbot/config:/home/node/.clawdbot
|
|
- /opt/clawdbot/workspace:/home/node/clawd
|
|
networks:
|
|
- traefik-net
|
|
labels:
|
|
- "traefik.enable=true"
|
|
# Router for the Dashboard
|
|
- "traefik.http.routers.clawdbot.rule=Host(`assistant.lemarechal.eu`)"
|
|
- "traefik.http.routers.clawdbot.entrypoints=https"
|
|
- "traefik.http.routers.clawdbot.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.clawdbot.middlewares=auth-sso@docker"
|
|
# Service definition
|
|
- "traefik.http.services.clawdbot.loadbalancer.server.port=18789"
|
|
|
|
networks:
|
|
traefik-net:
|
|
external: true
|