This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
42 lines (36 loc) · 1.63 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
39
40
41
version: '2'
services:
eth_bootstrap:
build: .
container_name: eth_bootstrap
entrypoint: /root/files/start_bootstrap.sh
command: '--datadir=~/.ethereum/devchain --verbosity "2" --port 30304 --rpcport 8547 --nodekeyhex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 --rpcapi "db,personal,eth,net,web3" --rpccorsdomain="*" --networkid=456719 --rpc --rpcaddr="0.0.0.0"'
networks:
- eth_net
eth_node:
build: .
entrypoint: /root/files/start_eth_node.sh
networks:
- eth_net
command: '--datadir=~/.ethereum/devchain --verbosity "2" --port 30304 --rpcport 8547
--rpccorsdomain="http://127.0.0.1:8547" --networkid=456719 --rpc --rpcapi "db,personal,eth,net,web3,miner,admin" --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@IPAddress:30304"'
stdin_open: true
tty: true
environment:
TARGET_HOSTNAME: ${HOSTNAME}
eth_contract_deployer:
build: .
entrypoint: /root/files/start_eth_contract_deployer.sh
networks:
- eth_net
command: '--datadir=~/.ethereum/devchain --verbosity "2" --port 30304 --rpcport 8547 --rpccorsdomain="http://127.0.0.1:8547" --networkid=456719 --rpc --rpcapi "db,personal,eth,net,web3,miner,admin" --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@IPAddress:30304"'
stdin_open: true
tty: true
ports:
- "40000"
- "20000:20000"
environment:
TARGET_HOSTNAME: ${HOSTNAME}
networks:
eth_net:
driver: bridge