meldestelle/dc-planb.yaml
StefanMoCoAt 9ab914dbfb
All checks were successful
Build and Publish Docker Images / build-and-push (., backend/services/mail/Dockerfile, mail-service, mail-service) (push) Successful in 5m48s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 3m55s
### fix: 36 verbessere SMTP-Logging und Versionsmarker
- **dc-planb.yaml:** SMTP-Parameter hart codiert (Host, Port, Benutzer, Passwort).
- **mail-service:** Logging erweitert, SMTP-Konfiguration (`host`, `port`, `user`) wird angezeigt.
- **WebMainScreen:** Versionsmarker auf `v2026-04-23.36 - SMTP DIAGNOSE` aktualisiert.
2026-04-23 18:15:49 +02:00

53 lines
2.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: "${PROJECT_NAME:-meldestelle}"
services:
# --- Statische Web-App (WASM) ---
web-app:
image: ${REGISTRY_INTERNAL:-10.0.0.22:3000}/mocode-software/meldestelle/web-app:${DOCKER_TAG:-latest}
container_name: ${PROJECT_NAME:-meldestelle}-web-app
restart: unless-stopped
environment:
# Diese Variablen werden vom Web-Container verwendet, um die Ziel-URLs in die index.html zu injizieren
API_BASE_URL: https://api.mo-code.at
MAIL_SERVICE_URL: https://api.mo-code.at
ports:
- "${WEB_APP_PORT:-4000:4000}"
networks: [meldestelle-network]
# --- Mail-Service (Plan-B: Form -> E-Mail) ---
mail-service:
image: ${REGISTRY_INTERNAL:-10.0.0.22:3000}/mocode-software/meldestelle/mail-service:${DOCKER_TAG:-latest}
container_name: ${PROJECT_NAME:-meldestelle}-mail-service
restart: unless-stopped
environment:
# Server-Port im Container (Spring Boot)
SERVER_PORT: "8085"
# Plan-B: Zipkin-Fehler unterdrücken
MANAGEMENT_TRACING_ENABLED: "false"
SPRING_ZIPKIN_ENABLED: "false"
# SMTP (World4You - PROD)
SPRING_MAIL_HOST: "smtp.world4you.com"
SPRING_MAIL_PORT: "587"
SPRING_MAIL_USERNAME: "online-nennen@mo-code.at"
SPRING_MAIL_PASSWORD: "Mogi#2reiten"
SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH: "true"
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE: "true"
# Feature-Flags / Infra-Off
MAIL_POLLING_ENABLED: ${MAIL_POLLING_ENABLED:-false}
SPRING_CLOUD_CONSUL_ENABLED: ${SPRING_CLOUD_CONSUL_ENABLED:-false}
SPRING_CLOUD_CONSUL_DISCOVERY_ENABLED: ${SPRING_CLOUD_CONSUL_DISCOVERY_ENABLED:-false}
SPRING_CLOUD_CONSUL_DISCOVERY_REGISTER: ${SPRING_CLOUD_CONSUL_DISCOVERY_REGISTER:-false}
# Datenbank: H2 In-Memory (Default in application.yaml) KEINE Postgres-Variablen setzen
ports:
- "8092:${SERVER_PORT:-8085}" # Extern 8092 beibehalten
networks: [meldestelle-network]
networks:
meldestelle-network:
driver: bridge