version: '2' services: invoiceninja: image: invoiceninja/invoiceninja:latest dns: - 1.1.1.1 - 1.0.0.1 labels: io.rancher.container.pull_image: always {{- if (.Values.HOST_LABEL)}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} {{- end}} traefik.enable: false links: - mysql restart: on-failure volumes: - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - /Rancher/${DATA_DIR}/Configuration/Invoice Ninja/.env:/var/www/app/.env - /Rancher/${DATA_DIR}/Logo:/var/www/app/public/logo - /Rancher/${DATA_DIR}/Storage:/var/www/app/storage cron: image: invoiceninja/invoiceninja:latest dns: - 1.1.1.1 - 1.0.0.1 entrypoint: | bash -c 'bash -s <