Init the cron job stack

This commit is contained in:
Luke Murphy 2020-05-07 09:21:06 +02:00
commit c10ddb5862
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
4 changed files with 21 additions and 0 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# swarm-cronjob
> https://github.com/crazy-max/swarm-cronjob

View File

@ -0,0 +1,11 @@
---
version: "3.7"
services:
docker-cron-job:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
deploy:
placement:
constraints:
- node.role == manager

6
docker-compose.yml Normal file
View File

@ -0,0 +1,6 @@
---
version: "3.7"
services:
docker-cron-job:
image: "crazymax/swarm-cronjob:latest"

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
docker-compose==1.25.5