remove mailpit
This commit is contained in:
+5
-10
@@ -49,19 +49,14 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
# ── Email: Mailpit (dev only) ──────────────────────────────
|
# ── Email: Python SMTP debug server (dev only) ────────────
|
||||||
mailpit:
|
# Accepts all mail and prints it to stdout (docker compose logs smtp)
|
||||||
image: axllent/mailpit:latest
|
smtp:
|
||||||
|
image: python:3-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
profiles: ["dev"]
|
profiles: ["dev"]
|
||||||
labels:
|
command: sh -c "pip install aiosmtpd --quiet && python -m aiosmtpd -n -l 0.0.0.0:${SMTP_PORT:-1025}"
|
||||||
- "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"
|
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user