Skip to content

Commit

Permalink
hotfix: update infra docs to handle chain syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 29, 2023
1 parent bf364a9 commit b00db50
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 49 deletions.
5 changes: 3 additions & 2 deletions docs/pages/Infra/_meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"index": "Introduction"
}
"index": "Introduction",
"chains": "Chains Syntax"
}
45 changes: 0 additions & 45 deletions docs/pages/Infra/basic.mdx

This file was deleted.

46 changes: 44 additions & 2 deletions docs/pages/Infra/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
# Infra
# Configuration

We will play around with `config.yaml` file on everything done with spinning up the kuberntes based mini-cosmos ecosystem
In Starship one can define the infra required with a simple config file. Each of the configuration directive.
Here is a basic example that will spin up:
* 2 chains with 2 validators each
* Hermes relayer between them (by default will create the IBC-transfer ports and channels)
* Explorer instance: ping-pub with the 2 chains configuration
* Registry service: Analogus to cosmos/chain-registry, following the same schemas

```yaml
chains:
- name: osmosis-1
type: osmosis
numValidators: 2
ports:
rest: 1313
rpc: 26653
- name: gaia-1
type: cosmos
numValidators: 2
ports:
rest: 1317
rpc: 26657

relayers:
- name: osmos-gaia
type: hermes
replicas: 1
chains:
- osmosis-1
- gaia-1

explorer:
enabled: true
ports:
rest: 8080

registry:
enabled: true
ports:
rest: 8081
```
Note this is a basic configuration file. We have various other directives and operations we can perform just with
the config file directives that we will go into details into.

0 comments on commit b00db50

Please sign in to comment.