19 lines
354 B
YAML
19 lines
354 B
YAML
|
---
|
||
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
dockron:
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./Dockerfile.multi-stage
|
||
|
command: ["-watch", "10s", "-debug"]
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||
|
|
||
|
echoer:
|
||
|
image: busybox:latest
|
||
|
command: ["date"]
|
||
|
labels:
|
||
|
# Execute every minute
|
||
|
- 'dockron.schedule=* * * * *'
|