version: "2.1" services: cron: image: cron:$VERSION_CRON restart: always network_mode: "host" volumes: - ./crontab.yaml:/root/crontab.yaml:Z