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

added note about healthcheck

This commit is contained in:
Jon Chin 2023-01-15 16:29:45 -05:00
parent 83282ab47d
commit b93f11b548

View File

@ -170,6 +170,15 @@ Run this version with:
docker-compose -f docker-compose.cuda.yml up -d --build docker-compose -f docker-compose.cuda.yml up -d --build
``` ```
### Running Healthchecks
You can enable healthchecks by including this in your docker-compose.yml file:
```
healthcheck:
test: ['CMD-SHELL', './venv/bin/python healthcheck.py']
```
## Arguments ## Arguments
| Argument | Description | Default | Env. name | | Argument | Description | Default | Env. name |