mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-06-10 09:29:27 +00:00
fix for models in use
This commit is contained in:
parent
5aac8670c0
commit
d788af4741
|
@ -1,3 +1,4 @@
|
|||
.git*
|
||||
docker
|
||||
.Dockerfile.swp
|
||||
/venv/*
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
libretranslate:
|
||||
container_name: libretranslate
|
||||
lt:
|
||||
container_name: translate
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
args:
|
||||
with_models: true #activated only for specific models
|
||||
models: "en,es" #example model English <> Spanish
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5000:5000"
|
||||
|
|
Loading…
Reference in a new issue