mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-28 19:01:02 +00:00
added note about healthcheck
This commit is contained in:
parent
83282ab47d
commit
b93f11b548
1 changed files with 9 additions and 0 deletions
|
@ -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 |
|
||||||
|
|
Loading…
Reference in a new issue