Skip to content

Commit

Permalink
Add gitopia blockchain (#584)
Browse files Browse the repository at this point in the history
* Add gitopia blockchain

* Update README.md
  • Loading branch information
CharlesJUDITH committed Jul 24, 2023
1 parent 689db2b commit ece8833
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)|
Expand Down
34 changes: 34 additions & 0 deletions gitopia/README.md
Original file line number Diff line number Diff line change
@@ -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`|
27 changes: 27 additions & 0 deletions gitopia/build.yml
Original file line number Diff line number Diff line change
@@ -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
56 changes: 56 additions & 0 deletions gitopia/deploy.yml
Original file line number Diff line number Diff line change
@@ -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
18 changes: 18 additions & 0 deletions gitopia/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ece8833

Please sign in to comment.