meldestelle/dc-planb.yaml
StefanMoCoAt 46d3d7cf35
Some checks failed
Build and Publish Docker Images / build-and-push (., backend/services/mail/Dockerfile, mail-service, mail-service) (push) Successful in 6m11s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Failing after 4m20s
### chore: aktualisiere Plan-B-Konfiguration und CI-Workflows
- **dc-planb.yaml:** Passe Ports und füge Zipkin-Deaktivierung hinzu.
- **Docker-Publish:** Ergänze Bereinigung und Sicherheitsprüfung für Web-Assets.
2026-04-23 02:41:57 +02:00

53 lines
2.2 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: ${API_BASE_URL:-https://api.mo-code.at}
MAIL_SERVICE_URL: ${MAIL_SERVICE_URL:-https://api.mo-code.at/mail}
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: ${SERVER_PORT:-8085}
# Plan-B: Zipkin-Fehler unterdrücken
MANAGEMENT_TRACING_ENABLED: "false"
SPRING_ZIPKIN_ENABLED: "false"
# SMTP (World4You - PROD)
SPRING_MAIL_HOST: ${SPRING_MAIL_HOST:-smtp.world4you.com}
SPRING_MAIL_PORT: ${SPRING_MAIL_PORT:-587}
SPRING_MAIL_USERNAME: ${SPRING_MAIL_USERNAME:-online-nennen@mo-code.at}
SPRING_MAIL_PASSWORD: ${SPRING_MAIL_PASSWORD:-changeme}
SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH: ${SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH:-true}
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE: ${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