whatever...
This commit is contained in:
+6
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user