ofelia
ofelia copied to clipboard
A docker job scheduler (aka. crontab for docker)
``` [job-exec "test"] schedule = @every 10m container = container command = cd /home && touch test.txt ``` or ``` [job-exec "test"] schedule = @every 10m container = container command...
Related to #32 and #80 When ofelia runs a job, and that job ends with an error, and exists with a non-zero exit value, then ofelia _does not_ display the...
Here's my minimal reproduction of the docker-compose file: ``` version: "3" services: scheduler: image: mcuadros/ofelia volumes: - /var/run/docker.sock:/var/run/docker.sock labels: ofelia.job-local.my-test-job.schedule: "@daily" ofelia.job-local.my-test-job.command: "echo 'still running'" command: ["daemon", "--docker"] test_schedule: image:...
The mail topic looks currently like this: `[Execution successful] Job job-name finished in 3m19.830133383s` or `[Execution failed] Job job-name finished in 1.768168ms` There are 3 important values: status, job name...
Consider following example: ```yaml version: "3" services: ofelia: image: mcuadros/ofelia:latest command: daemon --docker volumes: - /var/run/docker.sock:/var/run/docker.sock:ro labels: ofelia.smtp-host: "smtp.gmail.com" ofelia.smtp-port: "587" ofelia.smtp-user: "[email protected]" ofelia.smtp-password: "XXX" ofelia.email-to: "[email protected]" ofelia.email-from: "Ofelia "...
I plan to use ofelia for my deployments. I have some jobs, which runs periodically. I want to receive mail if a job fails. I would like to receive an...
Hi, I have a replicated service (3 replicas) in my docker swarm orchestration. I wanted to know that whether there is a way to run the cron only at one...
Hi, I would like to know if it is possible to use ofelia to stop running services running in containers and start other containers (on docker-swarm) ? Supposing I have...
It'd be great if there was an option to obfuscate/not show `command` values in the log/slack. Sometimes I need to run a job with secrets in the command, but if...
I want to execute `mongodump` in a swarm container `@daily`. As you know, swarm containers are named randomly. how does this work with ofelia? Is there some kind of filter...