forked from MettaChain/PropChain-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
42 lines (38 loc) · 896 Bytes
/
Copy pathdocker-compose.test.yml
File metadata and controls
42 lines (38 loc) · 896 Bytes
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
version: '3.8'
services:
substrate-node:
build:
context: .
dockerfile: Dockerfile.test-node
container_name: propchain-test-node
ports:
- "9944:9944"
- "9933:9933"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9933/health"]
interval: 10s
timeout: 5s
retries: 5
networks:
- propchain-test-network
ipfs:
image: ipfs/kubo:latest
container_name: propchain-test-ipfs
ports:
- "5001:5001"
- "8080:8080"
networks:
- propchain-test-network
indexer:
image: subsquid/substrate-ingest:latest
container_name: propchain-test-indexer
environment:
- CHAIN_ENDPOINT=ws://substrate-node:9944
depends_on:
substrate-node:
condition: service_healthy
networks:
- propchain-test-network
networks:
propchain-test-network:
driver: bridge