Adding libretranslate
This commit is contained in:
parent
71e192e023
commit
8a783495a9
2 changed files with 14 additions and 0 deletions
2
libretranslate/.env-example
Normal file
2
libretranslate/.env-example
Normal file
|
@ -0,0 +1,2 @@
|
|||
LT_API_KEYS_DB_PATH=
|
||||
|
12
libretranslate/docker-compose.yml
Normal file
12
libretranslate/docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
version: '3.8'
|
||||
services:
|
||||
libretranslate:
|
||||
image: libretranslate/libretranslate:latest
|
||||
container_name: libretranslate
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- LT_API_KEYS_DB_PATH=${LT_API_KEYS_DB_PATH}
|
||||
volumes:
|
||||
- ${BASE_DATA_DIR}/libretranslate/api_keys:/app/db/api_keys.db
|
||||
ports:
|
||||
- 5000:5000
|
Loading…
Reference in a new issue