misc(docker): Development environment add Mailhog (#205)

* misc(docker): Add mailcatcher for dev env

* use mailhog

* remove useless port

---------

Co-authored-by: Jeremy Denquin <jeremy@getlago.com>
This commit is contained in:
Jérémy Denquin 2023-03-10 11:48:59 +01:00 committed by GitHub
parent d2729dba54
commit 56f6e45969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

2
api

@ -1 +1 @@
Subproject commit 805ebc079883af023d1139b4b5885dcd06b6565f
Subproject commit d291ca1021345d3dc55f0075aa6907577debcc9f

View File

@ -166,3 +166,15 @@ services:
- "traefik.http.routers.pdf.entrypoints=web,websecure"
- "traefik.http.routers.pdf.tls=true"
- "traefik.http.services.pdf.loadbalancer.server.port=3000"
mailhog:
image: mailhog/mailhog
container_name: lago_mailhog
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.mail.rule=Host(`mail.lago.dev`)"
- "traefik.http.routers.mail.entrypoints=websecure"
- "traefik.http.routers.mail.tls=true"
- "traefik.http.services.mail.loadbalancer.server.port=8025"

2
front

@ -1 +1 @@
Subproject commit b47da7e03b7ac38b0f7c74944bed37d8e880471a
Subproject commit 96e14bbf3bf27d1f349f0cdf813c01b38a3bf084