Docker Healthcheck (#994)

* Implemented healthchecks into the docker files

* Added healthcheck entry in Dockerfile
This commit is contained in:
Chris Plaatjes 2022-01-26 13:51:03 -05:00 committed by GitHub
parent e4d1d9c97d
commit 62f0bf04ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -9,3 +9,11 @@ services:
ports:
- "5000:5000"
restart: unless-stopped
#Uncomment if you want to implement healthchecks
#healthcheck:
# test: curl --fail http://localhost:5000 || exit 1
# interval: 300s
# retries: 3
# start_period: 30s
# timeout: 15s