changed to use configuration files

This commit is contained in:
andreas
2023-04-02 20:36:59 +00:00
parent 878e544e87
commit 694aab86f3
8 changed files with 17 additions and 26 deletions

View File

@@ -1,11 +1,12 @@
services:
server:
build: ./core
image: core
depends_on:
- mysql
volumes:
- attachments:/var/lib/kopano/attachments
- ./core/entrypoint.sh:/entrypoint.sh
- ./etc-zntrl/kopano:/etc/kopano:ro
command: /usr/sbin/kopano-server
mysql:
image: mysql:5.7
@@ -48,7 +49,7 @@ volumes:
# image: webapp
# labels:
# - traefik.enable=true
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && Path(`/webapp`)
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/webapp`)
# - traefik.http.routers.webapp.tls=true
# - traefik.http.routers.webapp.tls.certResolver=default
# depends_on:
@@ -60,7 +61,7 @@ volumes:
# image: z-push
# labels:
# - traefik.enable=true
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && Path(`/Active-Sync-...`)
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/Active-Sync-...`)
# - traefik.http.routers.webapp.tls=true
# - traefik.http.routers.webapp.tls.certResolver=default
# volumes: