Browse Source

feat: build local plutôt qu'image distante

master
Guillaume Dupuy 3 months ago
parent
commit
9c3366dc92
  1. 5
      docker-compose.dev.yml
  2. 6
      docker-compose.yml

5
docker-compose.dev.yml

@ -1,6 +1,5 @@
services:
scribe:
build: .
environment:
- FLASK_APP=scribe
- FLASK_ENV=development
@ -12,11 +11,9 @@ services:
dmp-server:
environment:
- DMP_SERVER_PORT=2800
build:
context: .
dockerfile: punctuation-server/Dockerfile
volumes:
- ./punctuation-server/:/punctuation-server/
vosk-en:
image: alpine
restart: "no"

6
docker-compose.yml

@ -4,7 +4,7 @@ volumes:
services:
scribe:
image: gloorf/scribe:latest
build: .
restart: unless-stopped
volumes:
- ./settings.toml:/scribe/settings.toml
@ -22,7 +22,9 @@ services:
image: alphacep/kaldi-en:latest
restart: unless-stopped
dmp-server:
image: gloorf/dmp-server:latest
build:
context: .
dockerfile: punctuation-server/Dockerfile
restart: unless-stopped
ports:
- 2800:2800

Loading…
Cancel
Save