ansible/roles/stacks/composes/inventory/drawio.yml
2023-09-25 10:40:20 +02:00

36 lines
1003 B
YAML

# 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: []