From b7c90777927cb39ff68e71f2cc7acddc07c4e0c3 Mon Sep 17 00:00:00 2001 From: sc0vu Date: Wed, 29 Nov 2023 16:14:33 +0800 Subject: [PATCH 1/2] testnet: add docker profiles metrics-tools --- testnet/local/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testnet/local/docker-compose.yml b/testnet/local/docker-compose.yml index 83229dc..aa27dac 100644 --- a/testnet/local/docker-compose.yml +++ b/testnet/local/docker-compose.yml @@ -222,6 +222,8 @@ services: interval: 10s timeout: 10s retries: 10 + profiles: + - metrics-tools networks: katzenmint_net: ipv4_address: 172.29.1.128 @@ -240,6 +242,8 @@ services: - mix1 - mix2 - mix3 + profiles: + - metrics-tools networks: katzenmint_net: ipv4_address: 172.29.1.129 From 7edd44230f406e8f00b895d478f9f4525e74710f Mon Sep 17 00:00:00 2001 From: sc0vu Date: Wed, 29 Nov 2023 16:18:40 +0800 Subject: [PATCH 2/2] testnet: update README.md --- testnet/local/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testnet/local/README.md b/testnet/local/README.md index a877aac..47def83 100644 --- a/testnet/local/README.md +++ b/testnet/local/README.md @@ -6,6 +6,8 @@ This docker-compose configuration is meant to be used in combination with the [M $ cd testnet/local/ $ docker-compose build $ docker-compose up +# To enable grafana and prometheus, add profile metrics-tools +$ docker compose --profile metrics-tools up ``` 2. checkout information of katzenmint pki nodes with curl command @@ -68,9 +70,11 @@ You can simply cleanup chaindata in one command. $ sh cleanup.sh ``` -Then, restart three katzenmint pki nodes. +Then, restart four katzenmint pki nodes. ```BASH $ docker-compose up +# To enable grafana and prometheus, add profile metrics-tools +$ docker compose --profile metrics-tools up ``` # TBD