diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e41599f81..d080750e6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -108,6 +108,8 @@ jobs: version: v3.0.2 - project: neutron version: v4.0.1 + - project: noble + version: v5.0.0 - project: nois version: v1.0.5 - project: omniflixhub diff --git a/README.md b/README.md index aa058544f..b5f70b5ea 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`. |[mars](https://github.com/mars-protocol/hub.git)|`v1.0.2`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-mars-v1.0.2`|[Example](./mars)| |[migaloo](https://github.com/White-Whale-Defi-Platform/migaloo-chain)|`v3.0.2`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-migaloo-v3.0.2`|[Example](./migaloo)| |[neutron](https://github.com/neutron-org/neutron)|`v4.0.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-neutron-v4.0.1`|[Example](./neutron)| +|[noble](https://github.com/noble-assets/noble)|`v5.0.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-noble-v5.0.0`|[Example](./noble)| |[nois](https://github.com/noislabs/noisd)|`v1.0.5`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-nois-v1.0.5`|[Example](./nois)| |[omniflixhub](https://github.com/OmniFlix/omniflixhub)|`v4.1.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-omniflixhub-v4.1.1`|[Example](./omniflixhub)| |[osmosis](https://github.com/osmosis-labs/osmosis)|`v25.1.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.20-osmosis-v25.1.1`|[Example](./osmosis)| diff --git a/noble/README.md b/noble/README.md new file mode 100644 index 000000000..2b0877273 --- /dev/null +++ b/noble/README.md @@ -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`| diff --git a/noble/build.yml b/noble/build.yml new file mode 100644 index 000000000..ba82ed775 --- /dev/null +++ b/noble/build.yml @@ -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 \ No newline at end of file diff --git a/noble/deploy.yml b/noble/deploy.yml new file mode 100644 index 000000000..db3a6ddcd --- /dev/null +++ b/noble/deploy.yml @@ -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 diff --git a/noble/docker-compose.yml b/noble/docker-compose.yml new file mode 100644 index 000000000..b19ef7bf8 --- /dev/null +++ b/noble/docker-compose.yml @@ -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