-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Add noble chain * style: fix indentation * update cosmos omnibus version Co-authored-by: Tom Beynon <[email protected]> --------- Co-authored-by: Tom Beynon <[email protected]>
- Loading branch information
1 parent
dcdb98e
commit eed19fc
Showing
6 changed files
with
137 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Noble | ||
|
||
| | | | ||
|---|---| | ||
|Version|`v5.0.0`| | ||
|Binary|`nobled`| | ||
|Directory|`.noble`| | ||
|ENV namespace|`NOBLED`| | ||
|Repository|`https://github.com/noble-assets/noble`| | ||
|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-noble-v5.0.0`| | ||
|
||
## Examples | ||
|
||
- Run on Akash with the [example deploy.yml](./deploy.yml) | ||
- Run locally using the [example docker-compose.yml](./docker-compose.yml) | ||
|
||
## Polkachu Chain Services | ||
|
||
[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, statesync and pruned snapshots. | ||
|
||
Note you should choose between statesync and snapshot bootstrapping, snapshot will take precedence. | ||
|
||
|Variable|Value| | ||
|---|---| | ||
|`P2P_POLKACHU`|`1`| | ||
|`STATESYNC_POLKACHU`|`1`| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: '3.4' | ||
|
||
services: | ||
node_1: | ||
build: | ||
context: ../ | ||
args: | ||
PROJECT: noble | ||
PROJECT_BIN: nobled | ||
PROJECT_DIR: .noble | ||
VERSION: v5.0.0 | ||
REPOSITORY: https://github.com/noble-assets/noble.git | ||
GOLANG_VERSION: 1.19-buster | ||
NAMESPACE: NOBLED | ||
ports: | ||
- '21556:26656' | ||
- '21557:26657' | ||
- '21590:9090' | ||
environment: | ||
- MONIKER=node_1 | ||
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/chain.json | ||
env_file: | ||
- ../.env | ||
volumes: | ||
- ./node-data:/root/.noble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
node: | ||
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.20-noble-v5.0.0 | ||
env: | ||
- MONIKER=node_1 | ||
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/chain.json | ||
- P2P_POLKACHU=1 | ||
- STATESYNC_POLKACHU=1 | ||
#- SNAPSHOT_WASM_PATH=wasm | ||
## Make sure to set SNAPSHOT_DATA_PATH=data when using snapshots with the directory structure // TODO: https://github.com/akash-network/cosmos-omnibus/issues/378 | ||
# - SNAPSHOT_URL=https://snapshots.polkachu.com/snapshots/noble/noble_8268809.tar.lz4 | ||
# - SNAPSHOT_DATA_PATH=data | ||
expose: | ||
- port: 26656 | ||
to: | ||
- global: true | ||
- port: 26657 | ||
as: 80 | ||
to: | ||
- global: true | ||
- port: 1317 | ||
to: | ||
- global: true | ||
# params: | ||
# storage: | ||
# data: | ||
# mount: /root/.noble | ||
|
||
profiles: | ||
compute: | ||
node: | ||
resources: | ||
cpu: | ||
units: 4 | ||
memory: | ||
size: 8Gi | ||
storage: | ||
size: 100Gi | ||
# - size: 100Mi | ||
# - name: data | ||
# size: 400Gi | ||
# attributes: | ||
# persistent: true | ||
placement: | ||
dcloud: | ||
attributes: | ||
host: akash | ||
signedBy: | ||
anyOf: | ||
- akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63 | ||
pricing: | ||
node: | ||
denom: uakt | ||
amount: 1000 | ||
|
||
deployment: | ||
node: | ||
dcloud: | ||
profile: node | ||
count: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '3.4' | ||
|
||
services: | ||
node_1: | ||
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.20-noble-v5.0.0 | ||
ports: | ||
- '26656:26656' | ||
- '26657:26657' | ||
- '1317:1317' | ||
environment: | ||
- MONIKER=node_1 | ||
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/chain.json | ||
- P2P_POLKACHU=1 | ||
- STATESYNC_POLKACHU=1 | ||
#- SNAPSHOT_WASM_PATH=wasm | ||
## Make sure to set SNAPSHOT_DATA_PATH=data when using snapshots with the directory structure // TODO: https://github.com/akash-network/cosmos-omnibus/issues/378 | ||
# - SNAPSHOT_URL=https://snapshots.polkachu.com/snapshots/noble/noble_8268809.tar.lz4 | ||
# - SNAPSHOT_DATA_PATH=data | ||
volumes: | ||
- ./node-data:/root/.noble |