whatever...

This commit is contained in:
Rolf
2026-03-18 18:51:20 +01:00
parent 9c1e11d2e8
commit 80b912ecc4
+6 -2
View File
@@ -52,10 +52,14 @@ services:
# ── Email: Python SMTP debug server (dev only) ────────────
# Accepts all mail and prints it to stdout (docker compose logs smtp)
smtp:
image: python:3-alpine
build:
context: .
dockerfile_inline: |
FROM python:3-alpine
RUN pip install aiosmtpd --quiet
CMD ["python", "-m", "aiosmtpd", "-n", "-l", "0.0.0.0:1025"]
restart: unless-stopped
profiles: ["dev"]
command: sh -c "pip install aiosmtpd --quiet && python -m aiosmtpd -n -l 0.0.0.0:${SMTP_PORT:-1025}"
networks:
- internal