File tree Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ sendmail_path =/usr/sbin/sendmail -S localhost:1025 -t
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ WEB_PORT=8080
22MYSQL_PORT=3306
33SELENIUM_PORT=4444
44VNC_PORT=5900
5+ MAIL_PORT=8025
56BASE_URI=http://127.0.0.1:8080
67UID=1000
78GID=1000
Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ in order to see tests running in the browser. Using a VNC client such as Remmina
100100simply connect to port ` 127.0.0.1:5900 ` with the password ` secret ` . If you've changed the ` VNC_PORT `
101101environment variable be sure to connect to that port instead.
102102
103+ ## Mailpit
104+
105+ The mailpit service is available and configured to capture email sent from the site. This can be
106+ accessed at http://localhost:8025 . For more info see https://github.com/axllent/mailpit .
107+
103108## Contributing
104109
105110Once you're up and running you'll have Drupal core checked out in the app directory. From here you
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ services:
66 - " ${MYSQL_PORT:-3306}:3306"
77 - " ${SELENIUM_PORT:-4444}:4444"
88 - " ${VNC_PORT:-5900}:5900"
9+ - " ${SMTP_PORT:-1025}:1025"
10+ - " ${MAIL_PORT:-8025}:8025"
911 extra_hosts :
1012 - " host.docker.internal:host-gateway"
1113 volumes :
@@ -23,6 +25,7 @@ services:
2325 network_mode : service:nginx
2426 volumes :
2527 - ./:/data
28+ - ./.docker/php/custom.ini:/etc/php/conf.d/99-custom.ini
2629 environment :
2730 - PHP_IDE_CONFIG=serverName=localhost
2831
@@ -43,6 +46,7 @@ services:
4346 - PHP_IDE_CONFIG=serverName=localhost
4447 volumes :
4548 - ./:/data
49+ - ./.docker/php/custom.ini:/etc/php/conf.d/99-custom.ini
4650
4751 mysql :
4852 image : mysql:latest
@@ -60,3 +64,7 @@ services:
6064 selenium :
6165 image : ${SELENIUM_IMAGE:-selenium/standalone-chrome:111.0}
6266 network_mode : service:nginx
67+
68+ mail :
69+ image : axllent/mailpit
70+ network_mode : service:nginx
You can’t perform that action at this time.
0 commit comments