diff --git a/libretranslate/.env-example b/libretranslate/.env-example new file mode 100644 index 0000000..24cd4a4 --- /dev/null +++ b/libretranslate/.env-example @@ -0,0 +1,2 @@ +LT_API_KEYS_DB_PATH= + diff --git a/libretranslate/docker-compose.yml b/libretranslate/docker-compose.yml new file mode 100644 index 0000000..1549ed8 --- /dev/null +++ b/libretranslate/docker-compose.yml @@ -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