Sync
This commit is contained in:
parent
fa958babf6
commit
8289ebf4ca
2 changed files with 7 additions and 7 deletions
|
|
@ -1,16 +1,16 @@
|
|||
services:
|
||||
libretranslate:
|
||||
container_name: libretranslate
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/Dockerfile
|
||||
restart: unless-stopped
|
||||
image: libretranslate/libretranslate:latest
|
||||
ports:
|
||||
- "5000:5000"
|
||||
## Uncomment this for logging in docker compose logs
|
||||
# tty: true
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
|
||||
interval: 10s
|
||||
timeout: 4s
|
||||
retries: 4
|
||||
start_period: 5s
|
||||
## 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 libretranslate_api_keys volume if you want to backup your API keys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue