-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
57 lines (55 loc) · 1.5 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: "3"
services:
api:
build:
context: .
dockerfile: containers/api/Dockerfile
image: rotationalio/whisper-api:local
ports:
- "8318:8318"
environment:
- WHISPER_BIND_ADDR=:8318
- WHISPER_MAINTENANCE=false
- WHISPER_MODE=debug
- WHISPER_LOG_LEVEL=debug
- WHISPER_CONSOLE_LOG=true
- GOOGLE_APPLICATION_CREDENTIALS=/run/secret/whisper_sa
- GOOGLE_PROJECT_NAME=rotationalio-habanero
- WHISPER_GOOGLE_TESTING=true
- WHISPER_SENTRY_DSN
- WHISPER_SENTRY_SERVER_NAME=localhost
- WHISPER_SENTRY_ENVIRONMENT=development
- WHISPER_SENTRY_RELEASE=v1.3.0-dev
- WHISPER_SENTRY_TRACK_PERFORMANCE=true
- WHISPER_SENTRY_SAMPLE_RATE=1.0
- WHISPER_SENTRY_REPORT_ERRORS=true
- WHISPER_SENTRY_REPANIC=true
- WHISPER_SENTRY_DEBUG=false
secrets:
- whisper_sa
profiles:
- backend
- all
web:
build:
context: .
dockerfile: containers/web/Dockerfile
args:
- "REACT_APP_API_BASE_URL=http://localhost:8318/v1"
- "REACT_APP_UI_BASE_URL=http://localhost:3000"
- "REACT_APP_GIT_REVISION"
- "REACT_APP_RELEASE_VERSION=1.3.0-dev"
- "REACT_APP_SENTRY_DSN"
- "REACT_APP_SENTRY_ENVIRONMENT=staging"
- "NODE_ENV=staging"
image: rotationalio/whisper-ui:local
ports:
- "3000:80"
environment:
PORT: "80"
profiles:
- frontend
- all
secrets:
whisper_sa:
file: fixtures/whisper-sa.json