mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-25 11:22:28 +00:00
fix docker
This commit is contained in:
parent
5ea18f88db
commit
c18a8d4855
3 changed files with 8 additions and 6 deletions
|
@ -3,10 +3,12 @@ version: "3"
|
|||
services:
|
||||
libretranslate:
|
||||
container_name: libretranslate
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: .docker/cuda.Dockerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 5000:5000
|
||||
- "5000:5000"
|
||||
## Uncomment above command and define your args if necessary
|
||||
# command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500
|
||||
## Uncomment this section and the `volumes` section if you want to backup your API keys
|
||||
|
@ -16,4 +18,4 @@ services:
|
|||
# - libretranslate_api_keys:/app/db/api_keys.db
|
||||
|
||||
# volumes:
|
||||
# libretranslate_api_keys:
|
||||
# libretranslate_api_keys:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue