-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (56 loc) · 1.3 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
58
version: '3.8'
services:
fhir:
image: fhir
build:
context: ./fhir
dockerfile: Dockerfile-dev
volumes:
- ./fhir/src:/usr/src/app/src
ports:
- 3000:3000
environment:
- TCGA_URL=http://tcga:3001
- ANVIL_URL=http://anvil:3002
- URL=http://localhost:3000/4_0_0
tcga:
image: tcga
build:
context: ./tcga
dockerfile: Dockerfile-dev
volumes:
- ./tcga/src:/usr/src/app/src
ports:
- 3001:3001
environment:
- PORT=3001
anvil-mongo:
image: mongo
env_file:
- .env
environment:
- MONGO_INITDB_ROOT_USERNAME=anvil-admin
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_ROOT_PASSWORD}
- MONGO_INITDB_DATABASE=anvil
- ANVIL_READ_PASSWORD=${ANVIL_READ_PASSWORD}
- ANVIL_RW_PASSWORD=${ANVIL_RW_PASSWORD}
- PUID=1000
- PGID=1000
volumes:
- ./anvil-mongodb/database:/data/db
- ./anvil-mongodb/mongo-schema/:/docker-entrypoint-initdb.d/
ports:
- 27017:27017
restart: unless-stopped
anvil:
image: anvil
build:
context: ./anvil-api
dockerfile: Dockerfile-dev
volumes:
- ./anvil-api/src:/usr/src/app/src
ports:
- 3002:3002
environment:
- PORT=3002
- MONGO_CONNECTION_STRING=${MONGO_READ_CONNECTION_STRING}