Example docker-compose to trigger healthcheck events.

This commit is contained in:
2020-09-09 21:15:37 +02:00
parent 4bc2c08f66
commit 92b72734f9

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
version: "3.8"
services:
failing:
image: alpine:latest
command: "sleep 600"
labels:
com.example.description: "Accounting webapp"
healthcheck:
test: "false"
interval: 10s
timeout: 5s
retries: 3
start_period: 10s