- discord.js v14 Bot mit Slash-Command-Registry (Guild oder global) - Konfiguration über .env mit Validierung (config.js) - Dockerfile + docker-compose.yml für Portainer-Deployment - README mit Schritt-für-Schritt-Anleitung (Discord Developer Portal) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
18 lines
424 B
YAML
18 lines
424 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
|
|
# Ab Feature 2: HTTP-Endpoint für Gitea-Webhooks + Webinterface
|
|
# ports:
|
|
# - "3080:3080"
|
|
volumes:
|
|
# SQLite & Co. überleben Container-Neustarts
|
|
- ecobot_data:/app/data
|
|
|
|
volumes:
|
|
ecobot_data:
|