Move prometheus + grafana to metrics. Edit readme
parent
8ad97d6752
commit
5e87198276
|
@ -1,6 +1,6 @@
|
|||
# Clone repo, cd to `$REPO_HOME/indexer`
|
||||
|
||||
docker compose up -d --build
|
||||
`docker compose up -d --build`
|
||||
|
||||
|
||||
# Add PDSs
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
# To start prometheus + grafana
|
||||
|
||||
`cd metrics`
|
||||
|
||||
`docker compose up -d --build`
|
||||
|
||||
### Note: remember to allow ports for Prometheus to see host.docker.internal:xxxx from within container
|
||||
|
||||
`sudo ufw allow 11001`
|
||||
`sudo ufw allow 11002`
|
||||
`sudo ufw allow 11003`
|
||||
|
||||
# Install Node-exporter
|
||||
|
||||
You'll need to install node exporter for monitoring
|
|
@ -5,7 +5,7 @@ services:
|
|||
# needed if mounted in custom volume
|
||||
user: root
|
||||
volumes:
|
||||
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||
- "./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||
- "${PROMETHEUS_DATA_DIR:?specify data dir in .env file}:/prometheus"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue