File tree 2 files changed +19
-3
lines changed
2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1
- # This compose file is meant to spin up a copy of all supported database vendors + Redis and S3 (Minio).
1
+ # This compose file is meant to spin up a copy of supported database vendors,
2
+ # Redis, S3 (Minio) and a fake SMTP server (MailDev).
3
+ #
4
+ # ONLY FOR DEBUGGING. THIS IS NOT INTENDED FOR PRODUCTION USE.
5
+ #
2
6
# For production use see the docker compose file example in the docs:
3
7
# https://docs.directus.io/self-hosted/docker-guide.html#example-docker-compose
4
8
#
5
- # ONLY FOR DEBUGGING. THIS IS NOT INTENDED FOR PRODUCTION USE.
9
+ # For receiving emails via MailDev, you'll need to add the following to your env:
10
+
11
+ # EMAIL_TRANSPORT=smtp
12
+ # EMAIL_SMTP_HOST=0.0.0.0
13
+ # EMAIL_SMTP_PORT=1025
6
14
#
7
15
# Ports:
16
+ # Maildev SMTP: 1025
17
+ # Maildev Web-UI: 1080
8
18
# Postgres: 5100
9
19
# MySQL (8): 5101
10
20
# MariaDB: 5102
@@ -158,3 +168,9 @@ services:
158
168
DB_VENDOR : h2
159
169
ports :
160
170
- 5110:8080
171
+
172
+ maildev :
173
+ image : maildev/maildev
174
+ ports :
175
+ - 1025:1025
176
+ - 1080:1080
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ mandatory in production.
59
59
60
60
Also the [ Database Configuration] ( https://docs.directus.io/self-hosted/config-options.html#database ) must be specified.
61
61
You might want to use the [ docker-compose.yml] ( https://github.com/directus/directus/blob/main/docker-compose.yml ) file
62
- to spin up a test database.
62
+ to spin up a test database or a local mail server .
63
63
64
64
:::
65
65
You can’t perform that action at this time.
0 commit comments