update docker-compose
This commit is contained in:
1 parent
b6a04138ea
commit
2e0624cf2d
2 files changed
+72
-1
No files matched your search
@@ -0,0 +1,71 @@
|
|||||||
|
version: "2"
|
||||||
|
services:
|
||||||
|
geth1:
|
||||||
|
image: "ethereum/client-go:latest"
|
||||||
|
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
|
||||||
|
ports:
|
||||||
|
- 2045:8545
|
||||||
|
networks:
|
||||||
|
- sanchain-pos_network
|
||||||
|
volumes:
|
||||||
|
- ./root_signer:/data
|
||||||
|
- ./jwtsecret:/jwtsecret
|
||||||
|
|
||||||
|
beacon-chain1:
|
||||||
|
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
|
||||||
|
image: repo.mind-dev.com/santiops/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:-LG4QK26GBVo37KwknBeQ8ubca9W4jHtjqeszlRJflvsJeoAXXuUK21U6Q_QTijYrAFbKExFw46mWG1Q344npc39UF-GAYpLbegxh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhKweAAKJc2VjcDI1NmsxoQLyirWTAY--P_8vYX0N0AtINF5p37yEP6N8QI3EoCUBkYN1ZHCCdmY
|
||||||
|
- --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=*
|
||||||
|
- --contract-deployment-block=0
|
||||||
|
- --execution-endpoint=http://geth1:8551
|
||||||
|
- --accept-terms-of-use
|
||||||
|
- --jwt-secret=/jwtsecret
|
||||||
|
- --verbosity=debug
|
||||||
|
- --p2p-host-ip=$EXTERNAL_IP
|
||||||
|
- --p2p-tcp-port=13000
|
||||||
|
- --p2p-udp-port=13000
|
||||||
|
- --p2p-static-id
|
||||||
|
networks:
|
||||||
|
- sanchain-pos_network
|
||||||
|
ports:
|
||||||
|
- 13000:13000/tcp
|
||||||
|
- 13000:13000/udp
|
||||||
|
- 172.17.0.1:3500:3500/tcp
|
||||||
|
- 172.17.0.1:8080:8080/tcp
|
||||||
|
volumes:
|
||||||
|
- ./root_beaconchain:/data
|
||||||
|
- ./files:/files
|
||||||
|
- ./jwtsecret:/jwtsecret
|
||||||
|
depends_on:
|
||||||
|
geth1:
|
||||||
|
condition: service_started
|
||||||
|
|
||||||
|
networks:
|
||||||
|
sanchain-pos_network:
|
||||||
|
driver: bridge
|
||||||
|
external: true
|
||||||
|
driver_opts:
|
||||||
|
com.docker.network.bridge.enable_ip_masquerade: 'false'
|
||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- --datadir=/data
|
- --datadir=/data
|
||||||
# No peers to sync with in this testnet, so setting to 0
|
# No peers to sync with in this testnet, so setting to 0
|
||||||
- --min-sync-peers=0
|
- --min-sync-peers=1
|
||||||
- --minimum-peers-per-subnet=0
|
- --minimum-peers-per-subnet=0
|
||||||
- --genesis-state=/files/genesis.ssz
|
- --genesis-state=/files/genesis.ssz
|
||||||
- --bootstrap-node=enr:-LG4QK26GBVo37KwknBeQ8ubca9W4jHtjqeszlRJflvsJeoAXXuUK21U6Q_QTijYrAFbKExFw46mWG1Q344npc39UF-GAYpLbegxh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhKweAAKJc2VjcDI1NmsxoQLyirWTAY--P_8vYX0N0AtINF5p37yEP6N8QI3EoCUBkYN1ZHCCdmY
|
- --bootstrap-node=enr:-LG4QK26GBVo37KwknBeQ8ubca9W4jHtjqeszlRJflvsJeoAXXuUK21U6Q_QTijYrAFbKExFw46mWG1Q344npc39UF-GAYpLbegxh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhKweAAKJc2VjcDI1NmsxoQLyirWTAY--P_8vYX0N0AtINF5p37yEP6N8QI3EoCUBkYN1ZHCCdmY
|
||||||
|
|||||||
Reference in new issue
Block a user