Now it should work, I had faulty learning
This commit is contained in:
parent
bd64037366
commit
f20025531a
|
@ -1,5 +1,4 @@
|
||||||
BASE_DATA_DIR=
|
LT_API_KEYS_DB_PATH=/app/db
|
||||||
LT_API_KEYS_DB_PATH=/app/db/api_keys.db
|
|
||||||
LT_HOST=127.0.0.1
|
LT_HOST=127.0.0.1
|
||||||
LT_PORT=5000
|
LT_PORT=5000
|
||||||
LT_REQ_LIMIT=10
|
LT_REQ_LIMIT=10
|
||||||
|
|
|
@ -5,15 +5,18 @@ services:
|
||||||
container_name: libretranslate
|
container_name: libretranslate
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- LT_API_KEYS_DB_PATH=${LT_API_KEYS_DB_PATH}
|
LT_API_KEYS_DB_PATH: /app/db/api_keys.db
|
||||||
- LT_HOST=${LT_HOST}
|
LT_HOST: ${LT_HOST}
|
||||||
- LT_PORT=${LT_PORT}
|
LT_PORT: ${LT_PORT}
|
||||||
- LT_REQ_LIMIT=${LT_REQ_LIMIT}
|
LT_REQ_LIMIT: ${LT_REQ_LIMIT}
|
||||||
- LT_BATCH_LIMIT=${LT_BATCH_LIMIT}
|
LT_BATCH_LIMIT: ${LT_BATCH_LIMIT}
|
||||||
- LT_FRONTEND_LANGUAGE_SOURCE=${LT_FRONTEND_LANGUAGE_SOURCE}
|
LT_FRONTEND_LANGUAGE_SOURCE: ${LT_FRONTEND_LANGUAGE_SOURCE}
|
||||||
- LT_FRONTEND_LANGUAGE_TARGET=${LT_FRONTEND_LANGUAGE_TARGET}
|
LT_FRONTEND_LANGUAGE_TARGET: ${LT_FRONTEND_LANGUAGE_TARGET}
|
||||||
- LT_API_KEYS=${LT_API_KEYS}
|
LT_API_KEYS: ${LT_API_KEYS}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/libretranslate/api_keys:/app/db/api_keys.db
|
- libretranslate:/app/db
|
||||||
|
- libretranslate:/home/libretranslate/.local
|
||||||
ports:
|
ports:
|
||||||
- ${LT_HOST}:${LT_PORT}:5000
|
- ${LT_HOST}:${LT_PORT}:${LT_PORT}
|
||||||
|
volumes:
|
||||||
|
libretranslate:
|
||||||
|
|
Loading…
Reference in New Issue