- Fastify-Webserver mit /health und /webhooks/gitea (HMAC-SHA256-Signaturprüfung, timing-safe) - Push-Commits werden in SQLite gespeichert (Dedupe per SHA) und als Embed gepostet - Dockerfile auf node:22-slim (glibc-Prebuilds für better-sqlite3), Port 3080 published - README: Anleitung für Cloudflare-DNS, Nginx Proxy Manager (bot.d4rkst3r.de) und Gitea-Webhook Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
469 B
YAML
19 lines
469 B
YAML
# EcoBot Stack — deploybar über Portainer (Stacks → Add stack)
|
|
services:
|
|
ecobot:
|
|
build: .
|
|
image: ecobot:latest
|
|
container_name: ecobot
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
# HTTP-Endpoint für Gitea-Webhooks + Webinterface
|
|
# NPM leitet bot.d4rkst3r.de → host.docker.internal:3080
|
|
ports:
|
|
- "3080:3080"
|
|
volumes:
|
|
# SQLite & Co. überleben Container-Neustarts
|
|
- ecobot_data:/app/data
|
|
|
|
volumes:
|
|
ecobot_data:
|