First commit

This commit is contained in:
cedric 2025-11-30 16:29:43 +01:00
commit 286a7e9a03
46 changed files with 1016 additions and 0 deletions

View file

@ -0,0 +1,23 @@
version: '3'
services:
snappymail:
image: 'djmaze/snappymail:v2.38.2'
container_name: snappymail
labels:
- "traefik.enable=true"
- "traefik.http.routers.snappymail.rule=Host(`${VIRTUAL_HOST}`)"
- "traefik.http.routers.snappymail.entrypoints=websecure"
- "traefik.http.routers.snappymail.tls=true"
- "traefik.http.routers.snappymail.tls.certresolver=myresolver"
- "traefik.http.services.snappymail.loadbalancer.server.port=8888"
networks:
- http-proxy
volumes:
- /srv/docker/snappymail/data/:/snappymail/data/
restart: unless-stopped
networks:
http-proxy:
external: true