-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create README.md * Create build.yml * Create deploy.yml * Create docker-compose.yml * Added XPLA * Update publish.yml * Update xpla/README.md --------- Co-authored-by: Tom Beynon <[email protected]>
- Loading branch information
Showing
6 changed files
with
139 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,34 @@ | ||
# XPLA | ||
|
||
| | | | ||
|---|---| | ||
|Version|`v1.4.1`| | ||
|Binary|`xplad`| | ||
|Directory|`.xpla`| | ||
|ENV namespace|`XPLAD`| | ||
|Repository|`https://github.com/xpladev/xpla| | ||
|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.4.10-xpla-v1.4.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 XPLA. | ||
|
||
|Variable|Value| | ||
|---|---| | ||
|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/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`| |
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,28 @@ | ||
version: '3.4' | ||
|
||
services: | ||
node_1: | ||
build: | ||
context: ../ | ||
args: | ||
PROJECT: xpla | ||
PROJECT_BIN: xplad | ||
PROJECT_DIR: .xpla | ||
VERSION: v1.4.1 | ||
REPOSITORY: https://github.com/xpladev/xpla | ||
NAMESPACE: XPLAD | ||
GOLANG_VERSION: 1.21-bullseye | ||
DEBIAN_VERSION: bullseye | ||
ports: | ||
- '26656:26656' | ||
- '26657:26657' | ||
- '1317:1317' | ||
environment: | ||
- MONIKER=node_1 | ||
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/chain.json | ||
- P2P_POLKACHU=1 | ||
- STATESYNC_POLKACHU=1 | ||
env_file: | ||
- ../.env | ||
volumes: | ||
- ./node-data:/root/.xpla |
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,56 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
node: | ||
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.10-xpla-v1.4.1 | ||
env: | ||
- MONIKER=node_1 | ||
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/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/.xpla | ||
|
||
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,18 @@ | ||
version: '3.4' | ||
|
||
services: | ||
node_1: | ||
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.10-xpla-v1.4.1 | ||
ports: | ||
- '26656:26656' | ||
- '26657:26657' | ||
- '1317:1317' | ||
environment: | ||
- MONIKER=node_1 | ||
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/chain.json | ||
- P2P_POLKACHU=1 | ||
- STATESYNC_POLKACHU=1 | ||
env_file: | ||
- ../.env | ||
volumes: | ||
- ./node-data:/root/.xpla |