Added drawio service to nextcloud

This commit is contained in:
Florian Zirker 2023-01-09 09:33:18 +01:00
parent 946645473c
commit 8eff12ea6a

View file

@ -153,6 +153,41 @@ services:
- "docker.group=netxtcloud"
drawio-export:
image: jgraph/export-server
expose:
- "8000"
networks:
- nextcloud
volumes:
- ${VOLUMES_PATH}/nextcloud_fonts:/usr/share/fonts/drawio
restart: unless-stopped
labels:
- "docker.group=netxtcloud"
drawio:
image: jgraph/drawio
networks:
- web
- nextcloud
depends_on:
- drawio-export
environment:
- VIRTUAL_HOST=drawio.${DOMAIN}
- VIRTUAL_PORT=8080
- LETS_ENCRYPT_ENABLED=false
- EXPORT_URL=http://drawio-export:8000/
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.drawio.rule=Host(`drawio.${DOMAIN}`)"
- "traefik.http.routers.drawio.entrypoints=websecure"
- "traefik.http.routers.drawio.tls.certresolver=netcup"
- "traefik.http.routers.drawio.tls.options=intermediate@file"
- "traefik.http.services.drawio.loadbalancer.server.port=8080"
- "docker.group=netxtcloud"
networks:
web:
external: true