Skip to content

Commit

Permalink
Merge pull request #211 from hashcloak/feature/add-docker-profile
Browse files Browse the repository at this point in the history
testnet: feature/add docker profile
  • Loading branch information
sc0Vu authored Dec 20, 2023
2 parents 3af5d5c + 60e0fb2 commit 01fed26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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

0 comments on commit 01fed26

Please sign in to comment.