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} 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 volumes: - Localtime:/etc/localtime:ro # Syncronize time of container with the host system - Timezone:/etc/timezone:ro # Syncronize timezone of container with the host system {{- end}} cron: image: nextcloud:fpm-alpine dns: # Using Cloudflare DNS - 1.1.1.1 - 1.0.0.1 entrypoint: | # www-data uid: 82 sh -c 'sh -s <