-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (37 loc) · 1.02 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
version: '3.7'
services:
polkadot-node:
container_name: kusama-overview-kusama-node
image: parity/polkadot:latest
user: root
volumes:
- '.chain-data:/root/.local/share/polkadot'
ports:
- '30333:30333'
- '9933:9933'
- '9944:9944'
command: --chain kusama --pruning archive --wasm-execution Compiled --db paritydb --unsafe-ws-external --rpc-cors all
mongo:
container_name: kusama-overview-mongo
image: mongo
user: root
volumes:
- '.mongo-data:/data/db'
ports:
- "27017:27017"
kusama-overview-app:
container_name: kusama-overview-app
image: kusama-overview-app:development
build:
context: .
args:
ENVIRONMENT: 'development'
volumes:
- .:/usr/src/kusama-overview
- /usr/src/kusama-overview/node_modules
- /usr/src/kusama-overview/api/node_modules
- /usr/src/kusama-overview/parser-light/node_modules
- /usr/src/kusama-overview/ui/node_modules
ports:
- "3002:3002"
- "4002:4002"