diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 98609c4e0..052d2b28b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -64,6 +64,8 @@ jobs: version: v13.0.2 - project: fetchhub version: v0.10.6 + - project: gitopia + version: v2.1.1 - project: gravitybridge version: v1.7.2 - project: impacthub diff --git a/README.md b/README.md index cbb47745f..097f4086b 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`. |[empowerchain](https://github.com/empowerchain/empowerchain)|`v1.0.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-empowerchain-v1.0.0`|[Example](./empowerchain)| |[evmos](https://github.com/evmos/evmos)|`v13.0.2`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-evmos-v13.0.2`|[Example](./evmos)| |[fetchhub](https://github.com/fetchai/fetchd)|`v0.10.6`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-fetchhub-v0.10.6`|[Example](./fetchhub)| +|[gitopia](https://github.com/gitopia/gitopia)|`v2.1.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-gitopia-v2.1.1`|[Example](./gitopia)| |[gravitybridge](https://github.com/Gravity-Bridge/Gravity-Bridge)|`v1.7.2`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-gravitybridge-v1.7.2`|[Example](./gravitybridge)| |[impacthub](https://github.com/ixofoundation/ixo-blockchain)|`v0.18.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-impacthub-v0.18.1`|[Example](./impacthub)| |[injective](https://github.com/InjectiveLabs/injective-chain-releases)|`v1.11.6-1688984159`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-injective-v1.11.6-1688984159`|[Example](./injective)| diff --git a/gitopia/README.md b/gitopia/README.md new file mode 100644 index 000000000..9b0cfe1f0 --- /dev/null +++ b/gitopia/README.md @@ -0,0 +1,34 @@ +# Gitopia + +| | | +|---|---| +|Version|`v2.1.1`| +|Binary|`gitopiad`| +|Directory|`.gitopia`| +|ENV namespace|`GITOPIAD`| +|Repository|`https://github.com/gitopia/gitopia`| +|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.3.41-gitopia-v2.1.1`| + +## Examples + +- Run on Akash with the [example deploy.yml](./deploy.yml) +- Run locally using the [example docker-compose.yml](./docker-compose.yml) + +## Chain information + +The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes up to date chain info for Gitopia. + +|Variable|Value| +|---|---| +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/gitopia/chain.json`| + +## 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/gitopia/build.yml b/gitopia/build.yml new file mode 100644 index 000000000..0cf972201 --- /dev/null +++ b/gitopia/build.yml @@ -0,0 +1,27 @@ +version: '3.4' + +services: + node_1: + build: + context: ../ + args: + PROJECT: gitopia + PROJECT_BIN: gitopiad + PROJECT_DIR: .gitopia + VERSION: v2.1.1 + REPOSITORY: https://github.com/gitopia/gitopia + NAMESPACE: GITOPIAD + GOLANG_VERSION: 1.19-buster + ports: + - '26656:26656' + - '26657:26657' + - '1317:1317' + environment: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/gitopia/chain.json + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + env_file: + - ../.env + volumes: + - ./node-data:/root/.gitopia diff --git a/gitopia/deploy.yml b/gitopia/deploy.yml new file mode 100644 index 000000000..ad75adfe9 --- /dev/null +++ b/gitopia/deploy.yml @@ -0,0 +1,56 @@ +--- +version: "2.0" + +services: + node: + image: ghcr.io/akash-network/cosmos-omnibus:v0.3.41-gitopia-v2.1.1 + env: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/gitopia/chain.json + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + expose: + - port: 26657 + as: 80 + to: + - global: true + - port: 26656 + to: + - global: true + # params: + # storage: + # data: + # mount: /root/.gitopia + +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/gitopia/docker-compose.yml b/gitopia/docker-compose.yml new file mode 100644 index 000000000..17bdcdf76 --- /dev/null +++ b/gitopia/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.4' + +services: + node_1: + image: ghcr.io/akash-network/cosmos-omnibus:v0.3.41-gitopia-v2.1.1 + ports: + - '26656:26656' + - '26657:26657' + - '1317:1317' + environment: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/gitopia/chain.json + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + env_file: + - ../.env + volumes: + - ./node-data:/root/.gitopia