-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
48 lines (45 loc) · 1.03 KB
/
docker-compose.yaml
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
# docker-compose up
version: "3.7"
services:
geth:
image: ethereum/client-go:latest
entrypoint: geth --syncmode "light" --rpc --rpcaddr "0.0.0.0" --rpcvhosts=*
expose:
- 8545
ports:
- "8545:8545"
volumes:
- "~/.config/pdos/geth_datadir:/root/.ethereum"
networks:
default:
aliases:
- geth_host
pdosd:
hostname: pdosd
build: .
entrypoint: pdosd --eth_rpc http://geth_host:8545
depends_on:
- geth
links:
- geth
networks:
default:
aliases:
- pdosd_host
pdos:
hostname: pdos
build: .
entrypoint: pdos --pdosd_rpc pdosd_host:7331
depends_on:
- geth
- pdosd
links:
- geth
- pdosd
networks:
default:
aliases:
- pdos_host
networks:
default:
driver: bridge