-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
49 lines (45 loc) · 945 Bytes
/
docker-compose.dev.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
version: '3.8'
services:
storage-node:
container_name: storage-node
build:
context: .
dockerfile: storage-node/Dockerfile
depends_on:
- rollup-node
networks:
- app-network
ports:
- "3001:3001"
environment:
- PORT=3001
- MASTER=http://rollup-node:3000
rollup-node:
container_name: rollup-node
build:
context: .
dockerfile: rollup-node/Dockerfile
networks:
- app-network
ports:
- "3000:3000"
environment:
- PORT=3000
client-app:
container_name: client-app
depends_on:
- storage-node
- rollup-node
build:
context: .
dockerfile: client-app/Dockerfile
args:
- PUBLIC_ROLLUP_API_URL=http://127.0.0.1/api/rollup
- PUBLIC_NODE_API_URL=http://127.0.0.1/api/storage
ports:
- "80:80"
networks:
- app-network
networks:
app-network:
driver: bridge