Added drawio service to nextcloud
This commit is contained in:
parent
946645473c
commit
8eff12ea6a
1 changed files with 35 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue