Installation de mailhog pour pouvoir tester l'envoi de mail en local.
This commit is contained in:
+4
-1
@@ -25,4 +25,7 @@ FRANKENPHP_VERSION="dunglas/frankenphp:1.11.2-php8.5"
|
||||
|
||||
# PHPMyAdmin
|
||||
PHPMYADMIN_IMAGE="phpmyadmin:5.2-apache"
|
||||
PHPMYADMIN_URL=""
|
||||
PHPMYADMIN_URL=""
|
||||
|
||||
# Mail Hog
|
||||
MAILHOG_URL=""
|
||||
@@ -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