add env
This commit is contained in:
1 parent
423310fbf7
commit
bfd82ab199
5 files changed
+47
-84
No files matched your search
+13
-24
@@ -1,7 +1,7 @@
|
|||||||
version: "2"
|
version: "2"
|
||||||
services:
|
services:
|
||||||
geth1:
|
geth:
|
||||||
image: "ethereum/client-go:latest"
|
image: "ethereum/client-go:stable"
|
||||||
command:
|
command:
|
||||||
- --http
|
- --http
|
||||||
- --http.api=eth,web3,txpool,net
|
- --http.api=eth,web3,txpool,net
|
||||||
@@ -16,14 +16,12 @@ services:
|
|||||||
- --networkid=${CHAIN_ID:-32382}
|
- --networkid=${CHAIN_ID:-32382}
|
||||||
- --nat=extip:$EXTERNAL_IP
|
- --nat=extip:$EXTERNAL_IP
|
||||||
ports:
|
ports:
|
||||||
- 2045:8545
|
- $GETH_PORT:8545
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_signer:/data
|
- ./root_signer:/data
|
||||||
- ./jwtsecret:/jwtsecret
|
- ./jwtsecret:/jwtsecret
|
||||||
|
|
||||||
beacon-chain1:
|
beacon-chain:
|
||||||
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
|
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
|
||||||
image: repo.mind-dev.com/santiops/beacon-chain
|
image: repo.mind-dev.com/santiops/beacon-chain
|
||||||
command:
|
command:
|
||||||
@@ -40,32 +38,23 @@ services:
|
|||||||
- --monitoring-host=0.0.0.0
|
- --monitoring-host=0.0.0.0
|
||||||
- --grpc-gateway-corsdomain=*
|
- --grpc-gateway-corsdomain=*
|
||||||
- --contract-deployment-block=0
|
- --contract-deployment-block=0
|
||||||
- --execution-endpoint=http://geth1:8551
|
- --execution-endpoint=http://geth:8551
|
||||||
- --accept-terms-of-use
|
- --accept-terms-of-use
|
||||||
- --jwt-secret=/jwtsecret
|
- --jwt-secret=/jwtsecret
|
||||||
|
- --suggested-fee-recipient=$WALLET
|
||||||
- --verbosity=debug
|
- --verbosity=debug
|
||||||
- --p2p-host-ip=$EXTERNAL_IP
|
- --p2p-host-ip=$EXTERNAL_IP
|
||||||
- --p2p-tcp-port=13000
|
- --p2p-tcp-port=$BECONCHAIN_PORT
|
||||||
- --p2p-udp-port=13000
|
- --p2p-udp-port=$BECONCHAIN_PORT
|
||||||
- --p2p-static-id
|
- --p2p-static-id
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
ports:
|
ports:
|
||||||
- 13000:13000/tcp
|
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/tcp
|
||||||
- 13000:13000/udp
|
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/udp
|
||||||
- 172.17.0.1:3500:3500/tcp
|
- 172.17.0.1:$BECONCHAIN_MONITOR_PORT:8080/tcp
|
||||||
- 172.17.0.1:8080:8080/tcp
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_beaconchain:/data
|
- ./root_beaconchain:/data
|
||||||
- ./files:/files
|
- ./files:/files
|
||||||
- ./jwtsecret:/jwtsecret
|
- ./jwtsecret:/jwtsecret
|
||||||
depends_on:
|
depends_on:
|
||||||
geth1:
|
geth1:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
networks:
|
|
||||||
sanchain-pos_network:
|
|
||||||
driver: bridge
|
|
||||||
external: true
|
|
||||||
driver_opts:
|
|
||||||
com.docker.network.bridge.enable_ip_masquerade: 'false'
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
version: "2"
|
version: "2"
|
||||||
services:
|
services:
|
||||||
geth1:
|
geth:
|
||||||
image: "ethereum/client-go:latest"
|
image: "ethereum/client-go:stable"
|
||||||
command:
|
command:
|
||||||
- --http
|
- --http
|
||||||
- --http.api=eth,web3,txpool,net
|
- --http.api=eth,web3,txpool,net
|
||||||
@@ -16,24 +16,21 @@ services:
|
|||||||
- --networkid=${CHAIN_ID:-32382}
|
- --networkid=${CHAIN_ID:-32382}
|
||||||
- --nat=extip:$EXTERNAL_IP
|
- --nat=extip:$EXTERNAL_IP
|
||||||
ports:
|
ports:
|
||||||
- 2045:8545
|
- $GETH_PORT:8545
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_signer:/data
|
- ./root_signer:/data
|
||||||
- ./jwtsecret:/jwtsecret
|
- ./jwtsecret:/jwtsecret
|
||||||
|
|
||||||
slasher:
|
slasher:
|
||||||
image: gcr.io/prysmaticlabs/prysm/slasher:stable
|
image: gcr.io/prysmaticlabs/prysm/slasher:stable
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- beacon-chain1
|
- beacon-chain
|
||||||
command: --config-file=/data/slasher.yaml --accept-terms-of-use
|
command: --config-file=/data/slasher.yaml --accept-terms-of-use
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_slasher:/data
|
- ./root_slasher:/data
|
||||||
|
|
||||||
beacon-chain1:
|
beacon-chain:
|
||||||
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
|
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
|
||||||
image: repo.mind-dev.com/santiops/beacon-chain
|
image: repo.mind-dev.com/santiops/beacon-chain
|
||||||
command:
|
command:
|
||||||
@@ -50,22 +47,19 @@ services:
|
|||||||
- --monitoring-host=0.0.0.0
|
- --monitoring-host=0.0.0.0
|
||||||
- --grpc-gateway-corsdomain=*
|
- --grpc-gateway-corsdomain=*
|
||||||
- --contract-deployment-block=0
|
- --contract-deployment-block=0
|
||||||
- --execution-endpoint=http://geth1:8551
|
- --execution-endpoint=http://geth:8551
|
||||||
- --accept-terms-of-use
|
- --accept-terms-of-use
|
||||||
- --jwt-secret=/jwtsecret
|
- --jwt-secret=/jwtsecret
|
||||||
- --suggested-fee-recipient=$WALLET
|
- --suggested-fee-recipient=$WALLET
|
||||||
- --verbosity=debug
|
- --verbosity=debug
|
||||||
- --p2p-host-ip=$EXTERNAL_IP
|
- --p2p-host-ip=$EXTERNAL_IP
|
||||||
- --p2p-tcp-port=13000
|
- --p2p-tcp-port=$BECONCHAIN_PORT
|
||||||
- --p2p-udp-port=13000
|
- --p2p-udp-port=$BECONCHAIN_PORT
|
||||||
- --p2p-static-id
|
- --p2p-static-id
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
ports:
|
ports:
|
||||||
- 13000:13000/tcp
|
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/tcp
|
||||||
- 13000:13000/udp
|
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/udp
|
||||||
- 172.17.0.1:3500:3500/tcp
|
- 172.17.0.1:$BECONCHAIN_MONITOR_PORT:8080/tcp
|
||||||
- 172.17.0.1:8080:8080/tcp
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_beaconchain:/data
|
- ./root_beaconchain:/data
|
||||||
- ./files:/files
|
- ./files:/files
|
||||||
@@ -77,25 +71,16 @@ services:
|
|||||||
validator:
|
validator:
|
||||||
image: "gcr.io/prysmaticlabs/prysm/validator:stable"
|
image: "gcr.io/prysmaticlabs/prysm/validator:stable"
|
||||||
command:
|
command:
|
||||||
- --beacon-rpc-provider=beacon-chain1:4000
|
- --beacon-rpc-provider=beacon-chain:4000
|
||||||
- --datadir=/data
|
- --datadir=/data
|
||||||
- --accept-terms-of-use
|
- --accept-terms-of-use
|
||||||
- --chain-config-file=/files/config.yml
|
- --chain-config-file=/files/config.yml
|
||||||
- --wallet-dir=/files/wallet
|
- --wallet-dir=/files/wallet
|
||||||
- --wallet-password-file=/files/validator.txt
|
- --wallet-password-file=/files/validator.txt
|
||||||
- --enable-builder
|
- --enable-builder
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_validator:/data
|
- ./root_validator:/data
|
||||||
- ./files:/files
|
- ./files:/files
|
||||||
depends_on:
|
depends_on:
|
||||||
beacon-chain1:
|
beacon-chain:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
networks:
|
|
||||||
sanchain-pos_network:
|
|
||||||
driver: bridge
|
|
||||||
external: true
|
|
||||||
driver_opts:
|
|
||||||
com.docker.network.bridge.enable_ip_masquerade: 'false'
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
version: "2"
|
version: "2"
|
||||||
services:
|
services:
|
||||||
geth1:
|
geth:
|
||||||
image: "ethereum/client-go:latest"
|
image: "ethereum/client-go:stable"
|
||||||
command:
|
command:
|
||||||
- --http
|
- --http
|
||||||
- --http.api=eth,web3,txpool,net
|
- --http.api=eth,web3,txpool,net
|
||||||
@@ -16,14 +16,12 @@ services:
|
|||||||
- --networkid=${CHAIN_ID:-32382}
|
- --networkid=${CHAIN_ID:-32382}
|
||||||
- --nat=extip:$EXTERNAL_IP
|
- --nat=extip:$EXTERNAL_IP
|
||||||
ports:
|
ports:
|
||||||
- 2045:8545
|
- $GETH_PORT:8545
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_signer:/data
|
- ./root_signer:/data
|
||||||
- ./jwtsecret:/jwtsecret
|
- ./jwtsecret:/jwtsecret
|
||||||
|
|
||||||
beacon-chain1:
|
beacon-chain:
|
||||||
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
|
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
|
||||||
image: repo.mind-dev.com/santiops/beacon-chain
|
image: repo.mind-dev.com/santiops/beacon-chain
|
||||||
command:
|
command:
|
||||||
@@ -40,22 +38,19 @@ services:
|
|||||||
- --monitoring-host=0.0.0.0
|
- --monitoring-host=0.0.0.0
|
||||||
- --grpc-gateway-corsdomain=*
|
- --grpc-gateway-corsdomain=*
|
||||||
- --contract-deployment-block=0
|
- --contract-deployment-block=0
|
||||||
- --execution-endpoint=http://geth1:8551
|
- --execution-endpoint=http://geth:8551
|
||||||
- --accept-terms-of-use
|
- --accept-terms-of-use
|
||||||
- --jwt-secret=/jwtsecret
|
- --jwt-secret=/jwtsecret
|
||||||
- --suggested-fee-recipient=$WALLET
|
- --suggested-fee-recipient=$WALLET
|
||||||
- --verbosity=debug
|
- --verbosity=debug
|
||||||
- --p2p-host-ip=$EXTERNAL_IP
|
- --p2p-host-ip=$EXTERNAL_IP
|
||||||
- --p2p-tcp-port=13000
|
- --p2p-tcp-port=$BECONCHAIN_PORT
|
||||||
- --p2p-udp-port=13000
|
- --p2p-udp-port=$BECONCHAIN_PORT
|
||||||
- --p2p-static-id
|
- --p2p-static-id
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
ports:
|
ports:
|
||||||
- 13000:13000/tcp
|
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/tcp
|
||||||
- 13000:13000/udp
|
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/udp
|
||||||
- 172.17.0.1:3500:3500/tcp
|
- 172.17.0.1:$BECONCHAIN_MONITOR_PORT:8080/tcp
|
||||||
- 172.17.0.1:8080:8080/tcp
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_beaconchain:/data
|
- ./root_beaconchain:/data
|
||||||
- ./files:/files
|
- ./files:/files
|
||||||
@@ -67,25 +62,16 @@ services:
|
|||||||
validator:
|
validator:
|
||||||
image: "gcr.io/prysmaticlabs/prysm/validator:stable"
|
image: "gcr.io/prysmaticlabs/prysm/validator:stable"
|
||||||
command:
|
command:
|
||||||
- --beacon-rpc-provider=beacon-chain1:4000
|
- --beacon-rpc-provider=beacon-chain:4000
|
||||||
- --datadir=/data
|
- --datadir=/data
|
||||||
- --accept-terms-of-use
|
- --accept-terms-of-use
|
||||||
- --chain-config-file=/files/config.yml
|
- --chain-config-file=/files/config.yml
|
||||||
- --wallet-dir=/files/wallet
|
- --wallet-dir=/files/wallet
|
||||||
- --wallet-password-file=/files/validator.txt
|
- --wallet-password-file=/files/validator.txt
|
||||||
- --enable-builder
|
- --enable-builder
|
||||||
networks:
|
|
||||||
- sanchain-pos_network
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./root_validator:/data
|
- ./root_validator:/data
|
||||||
- ./files:/files
|
- ./files:/files
|
||||||
depends_on:
|
depends_on:
|
||||||
beacon-chain1:
|
beacon-chain:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
networks:
|
|
||||||
sanchain-pos_network:
|
|
||||||
driver: bridge
|
|
||||||
external: true
|
|
||||||
driver_opts:
|
|
||||||
com.docker.network.bridge.enable_ip_masquerade: 'false'
|
|
||||||
+4
-1
@@ -1,4 +1,7 @@
|
|||||||
EXTERNAL_IP=80.93.179.130
|
EXTERNAL_IP=80.93.179.130
|
||||||
NUM_VALIDATORS=64
|
NUM_VALIDATORS=64
|
||||||
WALLET=0x3747504D37F6e7cC7622abcbB943038FFCf1dF6D
|
WALLET=0x3747504D37F6e7cC7622abcbB943038FFCf1dF6D
|
||||||
DEPOSIT_DATA=deposit_data-1694336385.json
|
DEPOSIT_DATA=deposit_data-1694336385.json
|
||||||
|
BECONCHAIN_PORT=13000
|
||||||
|
BECONCHAIN_MONITOR_PORT=8080
|
||||||
|
GETH_PORT=8545
|
||||||
@@ -9,5 +9,5 @@ datadir: /data/slacher
|
|||||||
|
|
||||||
##############
|
##############
|
||||||
# Connectivity
|
# Connectivity
|
||||||
beacon-rpc-provider: beacon-chain1:4000
|
beacon-rpc-provider: beacon-chain:4000
|
||||||
monitoring-host: 0.0.0.0
|
monitoring-host: 0.0.0.0
|
||||||
Reference in new issue
Block a user