services: drawio: container_name: draw.io image: jgraph/drawio:latest healthcheck: test: curl -f http://localhost:8080/ || exit 1 mem_limit: 4g cpu_shares: 768 security_opt: - no-new-privileges:true restart: on-failure:5 ports: - 5022:8080