This commit is contained in:
Your Name committed 2023-09-10 15:42:36 +03:00
1 parent 423310fbf7
commit bfd82ab199
5 files changed
+47 -84

No files matched your search

+13 -24
View File
@@ -1,7 +1,7 @@
version: "2"
services:
geth1:
image: "ethereum/client-go:latest"
geth:
image: "ethereum/client-go:stable"
command:
- --http
- --http.api=eth,web3,txpool,net
@@ -16,14 +16,12 @@ services:
- --networkid=${CHAIN_ID:-32382}
- --nat=extip:$EXTERNAL_IP
ports:
- 2045:8545
networks:
- sanchain-pos_network
- $GETH_PORT:8545
volumes:
- ./root_signer:/data
- ./jwtsecret:/jwtsecret
beacon-chain1:
beacon-chain:
# image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
image: repo.mind-dev.com/santiops/beacon-chain
command:
@@ -40,32 +38,23 @@ services:
- --monitoring-host=0.0.0.0
- --grpc-gateway-corsdomain=*
- --contract-deployment-block=0
- --execution-endpoint=http://geth1:8551
- --execution-endpoint=http://geth:8551
- --accept-terms-of-use
- --jwt-secret=/jwtsecret
- --suggested-fee-recipient=$WALLET
- --verbosity=debug
- --p2p-host-ip=$EXTERNAL_IP
- --p2p-tcp-port=13000
- --p2p-udp-port=13000
- --p2p-tcp-port=$BECONCHAIN_PORT
- --p2p-udp-port=$BECONCHAIN_PORT
- --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
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/tcp
- $BECONCHAIN_PORT:$BECONCHAIN_PORT/udp
- 172.17.0.1:$BECONCHAIN_MONITOR_PORT: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'
condition: service_started