Installation de mailhog pour pouvoir tester l'envoi de mail en local.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
|
||||
mailhog:
|
||||
restart: unless-stopped
|
||||
container_name: ${CONTAINER_PREFIX}_mailhog
|
||||
image: mailhog/mailhog:latest
|
||||
logging:
|
||||
driver: 'none'
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.${CONTAINER_PREFIX}_mailhog.rule=Host(`${MAILHOG_URL}`)
|
||||
- traefik.http.routers.${CONTAINER_PREFIX}_mailhog.entrypoints=websecure
|
||||
- "traefik.http.services.${CONTAINER_PREFIX}_mailhog.loadbalancer.server.port=8025"
|
||||
networks:
|
||||
- frontend
|
||||
Reference in New Issue
Block a user