minitor/examples/docker-checks/docker-compose.yml

18 lines
332 B
YAML
Raw Normal View History

2019-05-31 23:38:00 +00:00
version: '2'
services:
minitor:
build: ../..
2019-05-31 23:38:00 +00:00
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'"