Files
pos_network_signer/docker-compose-readonly.yml
T
2023-09-18 11:13:24 +00:00

63 lines
2.2 KiB
YAML

version: "2"
services:
geth:
image: "ethereum/client-go:stable"
command:
- --http
- --http.api=eth,web3,txpool,net
- --http.addr=0.0.0.0
- --authrpc.vhosts=*
- --http.vhosts=*
- --http.corsdomain=*
- --authrpc.addr=0.0.0.0
- --authrpc.jwtsecret=/jwtsecret
- --datadir=/data
- --syncmode=full
- --networkid=${CHAIN_ID:-32382}
- --nat=extip:$EXTERNAL_IP
- --port=$GETH_P2P_PORT
- --bootnodes=enode://b20e87044eeb41ce50e7d7929e343dc9319d1fd917caca78b77c3355e898c4501d5a33a6c6d97b5184b8f3930f1d58b51ae2fc989174480a28e7f4abf81f791e@195.189.96.157:0?discport=30310
ports:
- $GETH_PORT:8545
- $GETH_P2P_PORT:$GETH_P2P_PORT
volumes:
- ./root_signer:/data
- ./jwtsecret:/jwtsecret
beacon-chain:
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
image: repo.mind-dev.com/sanchain/beacon-chain
command:
- --datadir=/data
# No peers to sync with in this testnet, so setting to 0
- --min-sync-peers=1
- --minimum-peers-per-subnet=0
- --genesis-state=/files/genesis.ssz
- --bootstrap-node=enr:-LG4QPodU9nmxmCF4BufRIsJRGZKyIGd6ogbM1-NS3ULTeUZarpgTUJB-ZHYTUG8oxepynWilK-ZQC9Dq1bqsMAWTwaGAYqnxH8dh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhMO9YJ2Jc2VjcDI1NmsxoQLyirWTAY--P_8vYX0N0AtINF5p37yEP6N8QI3EoCUBkYN1ZHCCMtI
- --chain-config-file=/files/config.yml
- --chain-id=${CHAIN_ID:-32382}
- --rpc-host=0.0.0.0
- --grpc-gateway-host=0.0.0.0
- --monitoring-host=0.0.0.0
- --grpc-gateway-corsdomain=*
- --execution-endpoint=http://geth:8551
- --accept-terms-of-use
- --jwt-secret=/jwtsecret
- --suggested-fee-recipient=$REWARD_RECIPIENT_ADDRESS
- --verbosity=debug
- --p2p-host-ip=$EXTERNAL_IP
- --p2p-tcp-port=$BECONCHAIN_PORT
- --p2p-udp-port=$BECONCHAIN_PORT
- --p2p-static-id
- --disable-peer-scorer
ports:
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/tcp
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/udp
- $BECONCHAIN_MONITOR_PORT:8080/tcp
volumes:
- ./root_beaconchain:/data
- ./files:/files
- ./jwtsecret:/jwtsecret
depends_on:
geth:
condition: service_started