remove mailpit
This commit is contained in:
+5
-10
@@ -49,19 +49,14 @@ services:
|
||||
networks:
|
||||
- internal
|
||||
|
||||
# ── Email: Mailpit (dev only) ──────────────────────────────
|
||||
mailpit:
|
||||
image: axllent/mailpit:latest
|
||||
# ── Email: Python SMTP debug server (dev only) ────────────
|
||||
# Accepts all mail and prints it to stdout (docker compose logs smtp)
|
||||
smtp:
|
||||
image: python:3-alpine
|
||||
restart: unless-stopped
|
||||
profiles: ["dev"]
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.mailpit.rule=Host(`${MAILPIT_DOMAIN}`)"
|
||||
- "traefik.http.routers.mailpit.entrypoints=websecure"
|
||||
- "traefik.http.routers.mailpit.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.mailpit.loadbalancer.server.port=8025"
|
||||
command: sh -c "pip install aiosmtpd --quiet && python -m aiosmtpd -n -l 0.0.0.0:${SMTP_PORT:-1025}"
|
||||
networks:
|
||||
- traefik
|
||||
- internal
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user