version: "2.1" services: cron: image: cron:$VERSION_CRON restart: always network_mode: "host" volumes: - ${RUN_DIRECTORY}/crontab.yaml:/root/crontab.yaml - ${RUN_DIRECTORY}/id_rsa:/root/.ssh/id_rsa - ${RUN_DIRECTORY}/id_rsa.pub:/root/.ssh/id_rsa.pub - ${RUN_DIRECTORY}/config:/root/.ssh/config - ${RUN_DIRECTORY}/scripts:/root/scripts