-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
53 lines (49 loc) · 1.36 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
version: '3'
services:
setup-mpc-server:
build: ./setup-mpc-server
image: 278380418400.dkr.ecr.eu-west-2.amazonaws.com/setup-mpc-server
environment:
INFURA_API_KEY: $INFURA_API_KEY
STORE_PATH: './store'
TMP_PATH: './store/tmp'
ports:
- '8081:80'
volumes:
- ./setup-mpc-server:/usr/src/setup-mpc-server
- ./setup-mpc-common:/usr/src/setup-mpc-server/node_modules/setup-mpc-common
- ${HOME}/.aws:/root/.aws
setup-mpc-map:
build: ./setup-mpc-map
image: 278380418400.dkr.ecr.eu-west-2.amazonaws.com/setup-mpc-map
ports:
- '8080:80'
volumes:
- ./setup-mpc-map:/usr/src/setup-mpc-map
depends_on:
- setup-mpc-server
job-server:
build: ./job-server
image: 278380418400.dkr.ecr.eu-west-2.amazonaws.com/job-server
environment:
NODE_ENV: production
REDIS_URL: redis://redis
ports:
- '8082:80'
volumes:
- ./job-server:/usr/src/job-server
depends_on:
- redis
redis:
image: redis
setup-post-process:
build: ./setup-post-process
image: 278380418400.dkr.ecr.us-east-2.amazonaws.com/setup-post-process
environment:
MPC_SERVER_HOST: setup-mpc-server
JOB_SERVER_HOST: job-server
volumes:
- ./setup-post-process:/usr/src/setup-post-process
- ${HOME}/.aws:/root/.aws
depends_on:
- job-server