excellent
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-classic-mainnet-client:
|
ethereum-classic-client:
|
||||||
image: ${ETHEREUM_CLASSIC_BESU_IMAGE:-hyperledger/besu}:${ETHEREUM_CLASSIC_MAINNET_BESU_VERSION:-25.4.1}
|
image: ${ETHEREUM_BESU_IMAGE:-hyperledger/besu}:${ETHEREUM_CLASSIC_BESU_VERSION:-25.4.1}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -18,8 +18,8 @@ services:
|
|||||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||||
user: root
|
user: root
|
||||||
ports:
|
ports:
|
||||||
- 14038:14038
|
- 12880:12880
|
||||||
- 14038:14038/udp
|
- 12880:12880/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 8546
|
- 8546
|
||||||
@@ -29,9 +29,9 @@ services:
|
|||||||
- --data-storage-format=BONSAI
|
- --data-storage-format=BONSAI
|
||||||
- --fast-sync-min-peers=1
|
- --fast-sync-min-peers=1
|
||||||
- --host-allowlist=*
|
- --host-allowlist=*
|
||||||
- --network=mainnet
|
- --network=classic
|
||||||
- --p2p-host=${IP}
|
- --p2p-host=${IP}
|
||||||
- --p2p-port=14038
|
- --p2p-port=12880
|
||||||
- --rpc-http-api=ETH,NET,WEB3,DEBUG,ADMIN,TXPOOL
|
- --rpc-http-api=ETH,NET,WEB3,DEBUG,ADMIN,TXPOOL
|
||||||
- --rpc-http-enabled=true
|
- --rpc-http-enabled=true
|
||||||
- --rpc-http-host=0.0.0.0
|
- --rpc-http-host=0.0.0.0
|
||||||
@@ -47,36 +47,36 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- ${ETHEREUM_CLASSIC_MAINNET_BESU_PRUNED_BONSAI_DATA:-ethereum-classic-mainnet-besu-pruned-bonsai}:/opt/besu/database
|
- ${ETHEREUM_CLASSIC_BESU_PRUNED_BONSAI_DATA:-ethereum-classic-besu-pruned-bonsai}:/opt/besu/database
|
||||||
- /slowdisk:/slowdisk
|
- /slowdisk:/slowdisk
|
||||||
|
|
||||||
ethereum-classic-mainnet:
|
ethereum-classic:
|
||||||
image: nginx
|
image: nginx
|
||||||
environment:
|
environment:
|
||||||
PROXY_HOST: ethereum-classic-mainnet-client
|
PROXY_HOST: ethereum-classic-client
|
||||||
RPC_PATH: ''
|
RPC_PATH: ''
|
||||||
RPC_PORT: 8545
|
RPC_PORT: 8545
|
||||||
WS_PATH: ''
|
WS_PATH: ''
|
||||||
WS_PORT: 8546
|
WS_PORT: 8546
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- ethereum-classic-mainnet-client
|
- ethereum-classic-client
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx-proxy:/etc/nginx/templates
|
- ./nginx-proxy:/etc/nginx/templates
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.middlewares.ethereum-classic-mainnet-besu-pruned-bonsai-stripprefix.stripprefix.prefixes=/ethereum-classic-mainnet
|
- traefik.http.middlewares.ethereum-classic-besu-pruned-bonsai-stripprefix.stripprefix.prefixes=/ethereum-classic
|
||||||
- traefik.http.services.ethereum-classic-mainnet-besu-pruned-bonsai.loadbalancer.server.port=80
|
- traefik.http.services.ethereum-classic-besu-pruned-bonsai.loadbalancer.server.port=80
|
||||||
- ${NO_SSL:-traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.ethereum-classic-besu-pruned-bonsai.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.ethereum-classic-besu-pruned-bonsai.tls.certresolver=myresolver}
|
||||||
- ${NO_SSL:-traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.rule=Host(`$DOMAIN`) && (Path(`/ethereum-classic-mainnet`) || Path(`/ethereum-classic-mainnet/`))}
|
- ${NO_SSL:-traefik.http.routers.ethereum-classic-besu-pruned-bonsai.rule=Host(`$DOMAIN`) && (Path(`/ethereum-classic`) || Path(`/ethereum-classic/`))}
|
||||||
- ${NO_SSL:+traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.rule=Path(`/ethereum-classic-mainnet`) || Path(`/ethereum-classic-mainnet/`)}
|
- ${NO_SSL:+traefik.http.routers.ethereum-classic-besu-pruned-bonsai.rule=Path(`/ethereum-classic`) || Path(`/ethereum-classic/`)}
|
||||||
- traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.middlewares=ethereum-classic-mainnet-besu-pruned-bonsai-stripprefix, ipallowlist
|
- traefik.http.routers.ethereum-classic-besu-pruned-bonsai.middlewares=ethereum-classic-besu-pruned-bonsai-stripprefix, ipallowlist
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ethereum-classic-mainnet-besu-pruned-bonsai:
|
ethereum-classic-besu-pruned-bonsai:
|
||||||
|
|
||||||
x-upstreams:
|
x-upstreams:
|
||||||
- id: $${ID}
|
- id: $${ID}
|
||||||
@@ -90,7 +90,7 @@ x-upstreams:
|
|||||||
frameSize: 20Mb
|
frameSize: 20Mb
|
||||||
msgSize: 50Mb
|
msgSize: 50Mb
|
||||||
url: $${WS_URL}
|
url: $${WS_URL}
|
||||||
chain: ethereum-classic
|
chain: ethereum
|
||||||
method-groups:
|
method-groups:
|
||||||
enabled:
|
enabled:
|
||||||
- debug
|
- debug
|
||||||
Reference in New Issue
Block a user