From 9da5051ae204d587e114cf7ff54422a3eece68e8 Mon Sep 17 00:00:00 2001 From: Jon Chin Date: Sun, 15 Jan 2023 16:20:47 -0500 Subject: [PATCH] added example of including healthcheck configuration --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 63bd509..a634356 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ services: restart: unless-stopped ports: - "5000:5000" + healthcheck: + test: ['CMD-SHELL', './venv/bin/python healthcheck.py'] ## Uncomment above command and define your args if necessary # command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500 ## Uncomment this section and the `volumes` section if you want to backup your API keys