mail-betwork

This commit is contained in:
2026-04-19 14:37:51 -05:00
parent a93f44600c
commit faa8d9cc57

View File

@@ -10,12 +10,15 @@ services:
ports: ports:
- "9000:8000" # Prometheus metrics (Host:Container) - "9000:8000" # Prometheus metrics (Host:Container)
- "9090:8080" # Health check (Host:Container) - "9090:8080" # Health check (Host:Container)
# Connect to DMS on the host or Docker network
extra_hosts:
- "host.docker.internal:host-gateway"
environment: environment:
- SMTP_HOST=host.docker.internal - SMTP_HOST=host.docker.internal
- SMTP_PORT=25 - SMTP_PORT=25
networks:
- mail_network
volumes: volumes:
worker-logs: worker-logs:
# Netzwerk am Ende der Datei deklarieren
networks:
mail_network:
external: true