1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00

added example of including healthcheck configuration

This commit is contained in:
Jon Chin 2023-01-15 16:20:47 -05:00
parent a6dd316aa0
commit 9da5051ae2

View File

@ -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