Some checks failed
Deployment Verification / deploy-and-test (push) Failing after 1m0s
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
#### NETWORKS
|
|
networks:
|
|
traefik_front_network:
|
|
external: true
|
|
back_network_mailpit:
|
|
driver: bridge
|
|
attachable: true
|
|
|
|
#### SERVICES
|
|
services:
|
|
### mailpit
|
|
services:
|
|
mailpit:
|
|
container_name: mailpit-app
|
|
hostname: mailpit-app
|
|
image: axllent/mailpit:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data:/data
|
|
ports:
|
|
- 1025:1025
|
|
networks:
|
|
- traefik_front_network
|
|
environment:
|
|
MP_MAX_MESSAGES: 5000
|
|
TZ: Europe/Paris
|
|
# MP_UI_AUTH_FILE: /data/authfile
|
|
MP_DATABASE: /data/mailpit.db
|
|
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik_front_network"
|
|
# HTTP
|
|
- "traefik.http.routers.mailpit-http.rule=Host(`mailpit.tips-of-mine.com`)"
|
|
- "traefik.http.routers.mailpit-http.entrypoints=http"
|
|
- "traefik.http.routers.mailpit-http.priority=49"
|
|
# HTTPS
|
|
- "traefik.http.routers.mailpit-https.rule=Host(`mailpit.tips-of-mine.com`)"
|
|
- "traefik.http.routers.mailpit-https.entrypoints=https"
|
|
- "traefik.http.routers.mailpit-https.tls=true"
|
|
- "traefik.http.routers.mailpit-https.priority=50"
|
|
- "traefik.http.routers.mailpit.service=mailpit-https-service"
|
|
# Middleware
|
|
# Service
|
|
- "traefik.http.services.mailpit-https-service.loadbalancer.server.port=8025" |