services: scheduler: image: alpine:3 command: > sh -c " apk add --no-cache curl tini && exec tini -- crond -f -L /dev/stdout " volumes: - ./docker/scheduler.crontab:/etc/crontabs/root:ro environment: INTERNAL_JOB_TOKEN: ${INTERNAL_JOB_TOKEN} depends_on: api: condition: service_healthy restart: unless-stopped