Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testnet: feature/add docker profile #211

Merged
merged 3 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion testnet/local/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions testnet/local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ services:
interval: 10s
timeout: 10s
retries: 10
profiles:
- metrics-tools
networks:
katzenmint_net:
ipv4_address: 172.29.1.128
Expand All @@ -240,6 +242,8 @@ services:
- mix1
- mix2
- mix3
profiles:
- metrics-tools
networks:
katzenmint_net:
ipv4_address: 172.29.1.129
Expand Down
Loading