Skip to content

Commit 6da61c2

Browse files
authored
40 Add mailhog (#41)
1 parent 2349189 commit 6da61c2

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ jobs:
2929
curl -f localhost:8080
3030
docker/console id
3131
docker/redis-cli info
32-
docker/console node --version
32+
docker/console node --version
33+
docker/console curl -s mailhog:8025 >/dev/null

dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker-compose up --build app web
3+
docker-compose up --build app web mailhog

docker-compose.dev.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@ services:
55
- 127.0.0.1:13306:3306
66

77
app:
8+
links:
9+
- mailhog
810
volumes:
911
- ./docker/app/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini:ro
1012

1113
web:
1214
ports:
13-
- $LISTEN_WEB:80
15+
- $LISTEN_WEB:80
16+
17+
mailhog:
18+
image: mailhog/mailhog
19+
ports:
20+
- 127.0.0.1:8025:8025

0 commit comments

Comments
 (0)