add poste.io

This commit is contained in:
Yax 2020-06-28 12:07:54 +02:00
parent ad868b1c5a
commit 457cb1f0ec
2 changed files with 25 additions and 0 deletions

View file

@ -1,4 +1,5 @@
DOMAIN=localhost.localdomain
HOST_GLANCES=glances
HOST_PORTAINER=portainer
HOST_MAIL=mail
TZ=Europe/Paris

View file

@ -0,0 +1,24 @@
version: '3'
services:
poste-io:
container_name: poste-io
image: analogic/poste.io
volumes:
- /srv/data/poste.io:/data
environment:
- TZ=${TZ}
- HTTPS=OFF
restart: unless-stopped
ports:
- "587:587"
- "465:465"
- "993:993"
- "25:25"
labels:
- traefik.enable=true
- traefik.http.routers.posteio.rule=Host(`${HOST_MAIL}.${DOMAIN}`)
- traefik.http.routers.posteio.entrypoints=web
- traefik.http.services.posteio.loadbalancer.server.port=80
networks:
- srv