Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace mailhog with maildev #3842

Merged
merged 2 commits into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .helm/ecamp3/templates/mail_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ spec:
imagePullPolicy: {{ .Values.mail.image.pullPolicy }}
ports:
- name: mail-http
containerPort: 8025
containerPort: 1080
protocol: TCP
- name: mail-smtp
containerPort: 1025
protocol: TCP
env:
- name: MH_UI_WEB_PATH
- name: MAILDEV_BASE_PATHNAME
value: {{ .Values.mail.subpath }}
readinessProbe:
httpGet:
scheme: HTTP
path: {{ .Values.mail.subpath }}
port: 8025
port: 1080
initialDelaySeconds: 10
periodSeconds: 5
resources:
Expand Down
4 changes: 2 additions & 2 deletions .helm/ecamp3/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ mail:
# If the dummy mail server is enabled, the domain where the web interface is available
subpath: "/mail"
image:
repository: "docker.io/mailhog/mailhog"
repository: "docker.io/maildev/maildev"
pullPolicy: IfNotPresent
# Overrides the image tag whose shared default is .Values.imageTag
tag: "latest"
service:
type: ClusterIP
port: 8025
port: 1080
resources:
requests:
cpu: 10m
Expand Down
2 changes: 1 addition & 1 deletion api/docker/caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}

handle /mail* {
reverse_proxy mail:8025
reverse_proxy mail:1080
}

handle {
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ services:
protocol: tcp

mail:
image: mailhog/mailhog
image: maildev/maildev
container_name: 'ecamp3-mail'
environment:
- MH_UI_WEB_PATH=/mail
- MAILDEV_BASE_PATHNAME=/mail

docker-host:
image: qoomon/docker-host
Expand Down