added postfix, z-push, dagent

This commit is contained in:
andreas
2023-04-04 20:19:20 +00:00
parent 950fbccf48
commit 109098ae55
9 changed files with 62 additions and 51 deletions

View File

@@ -19,6 +19,7 @@ services:
ports:
- 3307:3306
webapp:
build: ./webapp
image: webapp
labels:
- traefik.enable=true
@@ -34,21 +35,48 @@ services:
networks:
- default
- traefik
z-push:
build: ./z-push
image: z-push
labels:
- traefik.enable=true
- traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/Microsoft-Server-ActiveSync`)
- traefik.http.routers.webapp.tls=true
- traefik.http.routers.webapp.tls.certResolver=default
volumes:
- z-push:/var/lib/z-push
- ./etc-zntrl/z-push:/etc/z-push:ro
ports:
- 8081:80
depends_on:
- server
networks:
- default
- traefik
dagent:
build: ./core
image: core
depends_on:
- server
command: /usr/sbin/kopano-dagent
postfix:
build: ./postfix
image: postfix
ports:
- 8025:25
volumes:
- spool:/var/spool/postfix
- ./etc-zntrl/postfix:/etc/postfix:ro
- ./etc-zntrl/ssl:/etc/ssl:ro
networks:
traefik:
external: true
volumes:
database:
attachments:
# z-push:
# spool:
z-push:
spool:
# dagent:
# image: core
# depends_on:
# - db
# - server
# command: /usr/sbin/kopano-dagent
# spooler:
# image: core
# depends_on:
@@ -61,21 +89,3 @@ volumes:
# - db
# - server
# command: /usr/sbin/kopano-search
# z-push:
# image: z-push
# labels:
# - traefik.enable=true
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/Microsoft-Server-ActiveSync`)
# - traefik.http.routers.webapp.tls=true
# - traefik.http.routers.webapp.tls.certResolver=default
# volumes:
# - z-push:/var/lib/z-push
# depends_on:
# - server
# networks:
# - default
# - traefik
# postfix:
# image: postfix
# volumes:
# - spool:/var/spool/postfix