minitor/examples/docker-checks/docker-compose.yml
Ian Fijolek 9a8dbdbfef
All checks were successful
continuous-integration/drone/push Build is passing
Roll utils and non-root stuff into main image
2019-08-01 13:59:05 -07:00

18 lines
332 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'"