meldestelle/docker-compose.yml
2025-06-05 16:02:42 +02:00

27 lines
849 B
YAML

services:
server:
build:
context: . # Baut mit Dockerfile im Root
image: meldestelle/server:latest
container_name: meldestelle-server
restart: unless-stopped
ports:
- "8080:8081"
volumes:
- ./data:/app/data # Direktes Mapping des data Verzeichnisses
environment:
- USE_SQLITE=true
# Email configuration - uses GitHub Actions secrets if available, otherwise fallback values
- SMTP_HOST=${SMTP_HOST:-smtp.gmail.com}
- SMTP_PORT=${SMTP_PORT:-587}
- SMTP_USER=${SMTP_USER:-your-email@gmail.com}
- SMTP_PASSWORD=${SMTP_PASSWORD:-your-app-password}
- RECIPIENT_EMAIL=${RECIPIENT_EMAIL:-recipient@example.com}
- SMTP_SENDER_EMAIL=${SMTP_SENDER_EMAIL:-your-email@gmail.com}
networks:
- meldestelle-net
networks:
meldestelle-net:
driver: bridge