# 2023-09-25 # Stack: drawio --- drawio: name: "drawio" ipv6: true traefik: true directories: [] services: - name: "drawio" image: "jgraph/drawio:latest" restart: "unless-stopped" ports: - { exposed: "${VM_PORT_DRAWIO}", container: "8080" } healthcheck: 'wget --no-verbose --tries=1 --spider http://0.0.0.0:8080/ || exit 1' environment: - { name: "ORGANISATION_UNIT", value: "Zogg" } - { name: "ORGANISATION", value: "Zogg" } - { name: "COUNTRY_CODE", value: "FR" } - { name: "DRAWIO_BASE_URL", value: "https://{{ vm_subdomain_drawio }}.{{ vm_internet_domain }}" } ressources: memory: 512M traefik: routers: - { name: "dl", rule: "Host(`{{ vm_subdomain_drawio }}.{{ vm_internet_domain }}`)", middlewares: "default@file, errors@docker", service: "drawio@file" } services: []