added metrics ropsten
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
- geth-ropsten:/.ropsten
|
||||
networks:
|
||||
- chains
|
||||
command: "--ropsten --http --http.api eth,net --http.addr 0.0.0.0 --http.port 8545 --http.vhosts=* --syncmode full --datadir .ropsten --verbosity 3 --metrics.addr 0.0.0.0 --pprof.addr 0.0.0.0"
|
||||
command: "--ropsten --http --http.api eth,net --http.addr 0.0.0.0 --http.port 8545 --http.vhosts=* --syncmode full --datadir .ropsten --verbosity 3 --metrics --metrics.addr 0.0.0.0"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -21,6 +21,9 @@ services:
|
||||
- "traefik.http.routers.geth-ropsten.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.geth-ropsten.rule=Host(`$DOMAIN`) && PathPrefix(`/ropsten`)"
|
||||
- "traefik.http.routers.geth-ropsten.middlewares=geth-ropsten-stripprefix, ipwhitelist"
|
||||
- "prometheus-scrape.enabled=true"
|
||||
- "prometheus-scrape.port=6060"
|
||||
- "prometheus-scrape.job_name=ropsten"
|
||||
|
||||
volumes:
|
||||
geth-ropsten:
|
||||
Reference in New Issue
Block a user