-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 1.09 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
version: '3.5'
services:
mongo:
image: mongo:latest
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
command: mongod --smallfiles --logpath=/dev/null
apiserver:
image: $PROTEA_BACKEND_CONTAINER_RELEASE_IMAGE
build:
context: .
dockerfile: ./ApiServer/Dockerfile
depends_on:
- mongo
ports:
- 3001:3001
links:
- mongo
webapp:
image: $PROTEA_FRONTEND_CONTAINER_RELEASE_IMAGE
build:
context: .
dockerfile: ./WebApp/Dockerfile
args:
- API_HOST
- API_SCHEMA
- MAINNET_DAI_ADDRESS
- RINKEBY_DAI_ADDRESS
- GOERLI_DAI_ADDRESS
- KOVAN_DAI_ADDRESS
- ROPSTEN_DAI_ADDRESS
- MAINNET_COMMUNITY_FACTORY_ADDRESS
- RINKEBY_COMMUNITY_FACTORY_ADDRESS
- GOERLI_COMMUNITY_FACTORY_ADDRESS
- KOVAN_COMMUNITY_FACTORY_ADDRESS
- ROPSTEN_COMMUNITY_FACTORY_ADDRESS
- NODE_OPTIONS=--max-old-space-size=4096
depends_on:
- apiserver
ports:
- 3000:80
links:
- apiserver
volumes:
mongodb: