2023-09-26 16:09:27 +00:00
|
|
|
# 2023-09-26
|
2023-09-25 08:40:20 +00:00
|
|
|
# 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:
|
2023-09-26 16:09:27 +00:00
|
|
|
memory: "{{ 0.5 if 0.5 <= vm_os_memory_max|float else vm_os_memory_max|float }}G"
|
2023-09-25 08:40:20 +00:00
|
|
|
traefik:
|
|
|
|
routers:
|
|
|
|
- {
|
|
|
|
name: "dl",
|
|
|
|
rule: "Host(`{{ vm_subdomain_drawio }}.{{ vm_internet_domain }}`)",
|
|
|
|
middlewares: "default@file, errors@docker",
|
|
|
|
service: "drawio@file"
|
|
|
|
}
|
|
|
|
services: []
|