-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 899 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 899 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
services:
pelacli:
container_name: pelacli
image: pelagosnetwork/pelacli:latest
working_dir: /app
volumes:
- ./data:/data
# - ./pelacli.yaml:/config/pelacli.yaml
ports:
- "8081:8081"
command:
- consensus
# - --config=/config/pelacli.yaml
appchain:
build:
context: .
dockerfile: Dockerfile
working_dir: /app
pid: "service:pelacli"
image: appchain:latest
volumes:
- ./data:/data
# - ./config.yaml:/config/config.yaml
ports:
- "9090:9090"
- "8080:8080"
depends_on:
- pelacli
# command:
# - -config=/config/config.yaml
explorer:
image: pelagosnetwork/explorer:latest
ports:
- "3000:3000"
environment:
- RPC_URL=http://localhost:8080/rpc
- EXTERNAL_RPC_URL=http://localhost:8081/rpc
depends_on:
- appchain
- pelacli