forked from oncokb/oncokb-transcript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
49 lines (46 loc) · 1.25 KB
/
docker-compose.yaml
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
services:
app:
build:
context: .
dockerfile: ./docker/app/Dockerfile
ports:
- "9000:9000"
healthcheck:
test: ["CMD", "curl", "-k", "https://localhost:9000"]
command: yarn start-tls DOCKER=true
wdio:
build:
context: .
dockerfile: ./docker/app/Dockerfile
depends_on:
app:
condition: service_healthy
firebase:
condition: service_healthy
chrome:
condition: service_healthy
volumes:
- ./src/test/javascript/screenshots:/app/src/test/javascript/screenshots
environment:
- DOCKER=true
- FIREBASE_DATABASE_EMULATOR_HOST=firebase:9095
command: yarn run wdio
firebase:
build:
context: .
dockerfile: ./docker/firebase/Dockerfile
ports:
- "9095:9095"
- "9099:9099"
- "4000:4000"
- "4400:4400"
healthcheck:
test: ["CMD", "curl", "http://localhost:4400"]
command: firebase emulators:start --import firebase --project oncokb-curation-test-54b6c # change config here
chrome:
image: seleniarm/standalone-chromium # for those with m1 processors
shm_size: 2g
healthcheck:
test: ["CMD", "/opt/bin/check-grid.sh", "--host", "0.0.0.0", "--port", "4444"]
ports:
- 4444:4444