mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02:00
fix docker
This commit is contained in:
parent
5ea18f88db
commit
c18a8d4855
@ -1,3 +1,3 @@
|
|||||||
.git*
|
.git*
|
||||||
Dockerfile
|
.docker
|
||||||
.Dockerfile.swp
|
.Dockerfile.swp
|
||||||
|
@ -5,10 +5,10 @@ services:
|
|||||||
container_name: libretranslate-cuda
|
container_name: libretranslate-cuda
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile.cuda
|
dockerfile: .docker/cuda.Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 5000:5000
|
- "5000:5000"
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
|
@ -3,10 +3,12 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
libretranslate:
|
libretranslate:
|
||||||
container_name: libretranslate
|
container_name: libretranslate
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: .docker/cuda.Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 5000:5000
|
- "5000:5000"
|
||||||
## Uncomment above command and define your args if necessary
|
## Uncomment above command and define your args if necessary
|
||||||
# command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500
|
# 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
|
## Uncomment this section and the `volumes` section if you want to backup your API keys
|
||||||
|
Loading…
Reference in New Issue
Block a user