Skip to content

Commit f12ef3e

Browse files
committed
Add mailpit service
1 parent 4ab89fb commit f12ef3e

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.docker/php/custom.ini

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sendmail_path=/usr/sbin/sendmail -S localhost:1025 -t

.env.dist

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ WEB_PORT=8080
22
MYSQL_PORT=3306
33
SELENIUM_PORT=4444
44
VNC_PORT=5900
5+
MAIL_PORT=8025
56
BASE_URI=http://127.0.0.1:8080
67
UID=1000
78
GID=1000

docker-compose.yml

+8
Original file line numberDiff line numberDiff 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: skpr/mtk-mysql-empty:latest
@@ -51,3 +55,7 @@ services:
5155
selenium:
5256
image: ${SELENIUM_IMAGE:-selenium/standalone-chrome}
5357
network_mode: service:nginx
58+
59+
mailpit:
60+
image: axllent/mailpit
61+
network_mode: service:nginx

0 commit comments

Comments
 (0)