-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
22 lines (21 loc) · 1020 Bytes
/
Copy pathcompose.dev.yml
File metadata and controls
22 lines (21 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Development-only overrides, combined with the shared compose.yml:
#
# docker compose -f compose.yml -f compose.dev.yml ...
#
# The justfile does this automatically (its recipes default to `env=dev`).
services:
# Captures all outgoing e-mail during development and shows it in a web UI,
# so the development environment never sends real mail. The application points
# MAILER_DSN at this service (see app/.env.dist); the web UI is published below.
mailcrab:
image: docker.io/marlonb/mailcrab:v1.6.5
restart: unless-stopped
# Any random non-root user will do (mailcrab keeps everything in memory).
user: 4000:4000
# mailcrab does not shut down quickly when asked nicely, so we just kill it.
# There is nothing to lose (captured mail is in-memory and disposable).
stop_signal: SIGKILL
ports:
# The mailcrab web UI. Its SMTP listener (port 1025) is reachable by the
# php container over the compose network as `mailcrab:1025`.
- "${MAILCRAB_HTTP_BIND_ADDRESS}:1080"