Running a Local EthProxy
version: '3.8'
services:
# Main ethproxy service
ethproxy:
image: sagaxyz/ethproxy:0.5.0-beta.2
container_name: ethproxy
restart: unless-stopped
ports:
- "8545:8545" # JSON-RPC HTTP
- "8546:8546" # JSON-RPC WebSocket (if configured)
- "9090:9090" # Prometheus metrics (if enabled)
- "6060:6060" # Profiler (if enabled)
volumes:
- ./ethproxy.yml:/etc/saga/ethproxy/ethproxy.yml
environment:
# Fee payer private keys should be comma separated. You can also set these keys via an environment variable and passing it to docker compose parm ETHPROXY_SERVICES_FEE_PAYER_PRIVATE_KEYS
# Private keys should belong to account(s) on your chainlet using which you wish to pay for gas fees
- ETHPROXY_SERVICES_FEE_PAYER_PRIVATE_KEYS=
networks:
- ethproxy-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8545"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
ethproxy-network:
driver: bridge
ipam:
driver: default
config:
-
subnet: 192.168.0.0/16
volumes:
ethproxy:Last updated