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