Skip to content

Commit 9484987

Browse files
committed
chore(compose): Add mailhog to compose
1 parent caf9fe9 commit 9484987

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

compose/deps.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ services:
77
condition: service_healthy
88
minio:
99
condition: service_healthy
10+
mailhog:
11+
condition: service_healthy
1012

1113
wizard:
1214
depends_on:
@@ -66,3 +68,18 @@ services:
6668
interval: 5s
6769
timeout: 3s
6870
retries: 5
71+
72+
mailhog:
73+
image: mailhog/mailhog:v1.0.1
74+
restart: always
75+
ports:
76+
- "8025:8025" # Web UI
77+
- "1025:1025" # SMTP
78+
volumes:
79+
- /etc/localtime:/etc/localtime:ro
80+
healthcheck:
81+
test: ["CMD", "nc", "-z", "localhost", "8025"]
82+
interval: 10s
83+
timeout: 5s
84+
retries: 3
85+
start_period: 15s

compose/mailhog.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)