-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
24 lines (24 loc) · 1010 Bytes
/
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
version: "3.2"
services:
contract_compiler:
image: ethereum/solc:0.5.13
container_name: chirotonia_compiler
volumes:
- .:/chirotonia
command: -o /chirotonia --abi --bin --optimize /chirotonia/contracts/Chirotonia.sol --overwrite
node:
build: ./demo-network
image: ethereum-clique
container_name: chirotonia_ethereum_clique
volumes:
- ./demo-network/keys:/root/.ethereum/keystore
ports:
- 8545:8545
command: --unlock 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --password /root/.ethereum/keystore/password --mine --miner.threads 1 --miner.etherbase 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --http --http.addr 0.0.0.0 --http.vhosts * --http.api admin,eth,miner,personal,web3 --allow-insecure-unlock --nodiscover --nousb --miner.gasprice 1
depends_on:
- contract_compiler
networks:
- chirotonia
networks:
chirotonia:
attachable: true