ajout snappymail

This commit is contained in:
Didier Denoual 2024-12-02 19:30:33 +01:00
parent fdbf20a7b9
commit ad933f1763
2 changed files with 34 additions and 0 deletions

View File

@ -94,6 +94,7 @@ traefikHost=dashboard
imapsyncHost=imapsync imapsyncHost=imapsync
castopodHost=pod castopodHost=pod
apikazHost=apikaz apikazHost=apikaz
snappymailHost=snappymail
######################################## ########################################
# ports internes # ports internes
@ -129,6 +130,7 @@ vaultwardenServName=vaultwardenServ
traefikServName=traefikServ traefikServName=traefikServ
prometheusServName=prometheusServ prometheusServName=prometheusServ
grafanaServName=grafanaServ grafanaServName=grafanaServ
snappymailServName=snappymailServ
ethercalcDBName=ethercalcDB ethercalcDBName=ethercalcDB
etherpadDBName=etherpadDB etherpadDBName=etherpadDB
framadateDBName=framadateDB framadateDBName=framadateDB

View File

@ -0,0 +1,32 @@
services:
snappymail:
image: ghcr.io/waldner/snappymail-docker:latest
container_name: ${snappymailServName}
hostname: ${snappymailHost}
restart: ${restartPolicy}
volumes:
- data:/snappymail/data
- snappymail:/snappymail/snappymail
networks:
snappymailNet:
postfixNet:
ports:
- 80
env_file:
- ../../secret/env-${snappymailServName}
labels:
- "traefik.enable=true"
- "traefik.http.routers.${snappymailServName}.rule=host(`${snappymailHost}.${domain}`)"
- "traefik.docker.network=snappymailNet"
volumes:
data:
snappymail:
networks:
snappymailNet:
external: true
name: snappymailNet
postfixNet:
external: true
name: postfixNet