36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
# 2023-09-26
|
|
# 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: "{{ 0.5 if 0.5 <= vm_os_memory_max|float else vm_os_memory_max|float }}G"
|
|
traefik:
|
|
routers:
|
|
- {
|
|
name: "dl",
|
|
rule: "Host(`{{ vm_subdomain_drawio }}.{{ vm_internet_domain }}`)",
|
|
middlewares: "default@file, errors@docker",
|
|
service: "drawio@file"
|
|
}
|
|
services: []
|