Adding libretranslate

This commit is contained in:
Siina Mashek 2023-01-01 10:08:23 +02:00
parent 71e192e023
commit 8a783495a9
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,2 @@
LT_API_KEYS_DB_PATH=

View 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