fix harmony.sh RUN command

update README_HARMONY.md
enable prometheus for harmony.sh
This commit is contained in:
cventastic
2022-01-24 10:25:02 +01:00
parent 32e474347f
commit 83ef8d47ad
3 changed files with 6 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ version: '3.1'
services:
harmony-mainnet:
build: ./harmony/build
command: bash -c "/harmony.sh && /binary --log.dir /harmony/log --run.shard 1 --dns.zone t.hmny.io --http.ip 0.0.0.0 --datadir /harmony"
command: bash -c "/harmony.sh && /binary --log.dir /harmony/log --run.shard 1 --dns.zone t.hmny.io --http.ip 0.0.0.0 --datadir /harmony --prometheus true"
sysctls:
net.core.somaxconn: 1024
# net.core.netdev_max_backlog: 65536
@@ -58,7 +58,7 @@ services:
image: prom/prometheus:v2.30.3
container_name: prometheus
volumes:
- ./prometheus/prometheus-rpc.yml:/etc/prometheus/prometheus.yml
- ./prometheus/prometheus-harmony.yml:/etc/prometheus/prometheus.yml
- prometheus_data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'