Initiales Setup: minimaler Discord-Bot mit /ping, Docker-Deployment und README
- 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>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# 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:
|
||||
Reference in New Issue
Block a user