feat: Add Dockerfile, docker-compose, and Gitea Actions workflow for initial Clawdbot application deployment.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m5s

This commit is contained in:
2026-01-28 20:57:50 +01:00
commit 0d0ba70560
5 changed files with 136 additions and 0 deletions

28
docker-compose.yml Normal file
View File

@@ -0,0 +1,28 @@
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