38 lines
881 B
YAML
38 lines
881 B
YAML
version: '3.9'
|
|
services:
|
|
openethereum:
|
|
init: true
|
|
user: root
|
|
restart: unless-stopped
|
|
container_name: kitabu-openethereum
|
|
image: openethereum/openethereum:v3.3.3
|
|
command:
|
|
--config=/root/kitabu.toml
|
|
--nat='extip:$EXT_IP'
|
|
--engine-signer='$ACCOUNT'
|
|
--jsonrpc-port=8545
|
|
--jsonrpc-cors=all
|
|
--jsonrpc-interface=all
|
|
--jsonrpc-hosts=all
|
|
--jsonrpc-apis=web3,eth,net,parity
|
|
--ws-port=8546
|
|
--ws-interface=all
|
|
--ws-hosts=all
|
|
volumes:
|
|
- ./key:/root/data/keys/kitabu_sarafu/key
|
|
- ./kitabu.json:/root/kitabu.json
|
|
- ./kitabu.toml:/root/kitabu.toml
|
|
- ./password:/root/password
|
|
- ./data:/root/data
|
|
expose:
|
|
- '8545'
|
|
- '8546'
|
|
ports:
|
|
- '30303:30303'
|
|
- '30303:30303/udp'
|
|
networks:
|
|
- kitabu
|
|
networks:
|
|
kitabu:
|
|
driver: bridge
|