Files
docker-php-stack/docker/docker-compose.mailpit.yml
T

15 lines
488 B
YAML

services:
mailpit:
restart: unless-stopped
container_name: ${CONTAINER_PREFIX}_mailpit
image: axllent/mailpit:latest
logging:
driver: "none"
labels:
- traefik.enable=true
- traefik.http.routers.${CONTAINER_PREFIX}_mailpit.rule=Host(`${MAILPIT_URL}`)
- traefik.http.routers.${CONTAINER_PREFIX}_mailpit.entrypoints=websecure
- traefik.http.services.${CONTAINER_PREFIX}_mailpit.loadbalancer.server.port=8025
networks:
- frontend