Skip to content

Commit cfc477b

Browse files
committed
Added mailcatcher
1 parent f237fdb commit cfc477b

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Supports:
1616
- Elasticsearch (disabled, without configuration)
1717
- Redis (disabled)
1818
- Memcached (disabled)
19+
- Mailcatcher (if no mail sandbox is used, eg. [Vagrant Development VM](https://github.com/mblaschke/vagrant-development))
1920
- maybe more later...
2021

2122
This Docker boilerplate based on the best practises and don't use too much magic.
@@ -189,6 +190,14 @@ Setting | Value
189190
Host | memcached
190191
Port | 11211
191192

193+
### Mailcatcher
194+
195+
Setting | Value
196+
------------- | -------------
197+
Host | mail
198+
SMTP port | 1025
199+
Web port | 1080
200+
192201
### Environment settings
193202

194203
Environment | Description

docker-env.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ FLOW_REWRITEURLS=1
2020
SYMFONY_ENV=dev
2121
SYMFONY_DEBUG=0
2222

23-
# Service settings
23+
# Mail - Vagrant mail sandbox
2424
MAIL_GATEWAY=192.168.56.2
25+
26+
# Mail - Mailcatcher
27+
#MAIL_GATEWAY=mail:1025
28+
29+
# Service settings
2530
DNS_DOMAIN=vm vm.dev
2631

2732
# MySQL settings
@@ -35,5 +40,3 @@ PHP_TIMEZONE=UTC
3540
PHP_UID=1000
3641
PHP_GID=1000
3742

38-
# Mailcatcher SMTP port
39-
MAILCATCHER_PORT_1025_TCP_ADDR = 1025

0 commit comments

Comments
 (0)