version: '2' services: {{- if eq .Values.COLLABORA "true"}} collabora: image: collabora/code:latest cap_add: - MKNOD # Ability to create special files (https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities) dns: # Using Cloudflare DNS - 1.1.1.1 - 1.0.0.1 environment: domain: collabora.${TRAEFIK_HOST} expose: - "9980" labels: io.rancher.container.pull_image: always {{- if .Values.HOST_LABEL}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} {{- end}} traefik.enable: false restart: on-failure {{- end}} # cron: # image: nextcloud:fpm-alpine # dns: # Using Cloudflare DNS # - 1.1.1.1 # - 1.0.0.1 # entrypoint: | # sh -c 'sh -s <