minitor/examples/docker-checks/docker-compose.yml
Ian Fijolek 0ea55fa7b3
Some checks failed
continuous-integration/drone/push Build is failing
Add docker check example
2019-05-31 16:43:14 -07:00

18 lines
328 B
YAML

version: '2'
services:
minitor:
build: .
volumes:
- ./config.yml:/app/config.yml
- /var/run/docker.sock:/var/run/docker.sock:ro
failure:
container_name: failure
image: busybox
command: "sh -c 'exit 1'"
success:
container_name: success
image: busybox
command: "sh -c 'exit 0'"