-
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.
* Add Coreum * Add Coreum to README
- Loading branch information
Showing
5 changed files
with
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Coreum | ||
|
||
| | | | ||
|---|---| | ||
|Version|`v4.1.2`| | ||
|Binary|`cored`| | ||
|Directory|`.core/coreum-mainnet-1`| | ||
|ENV namespace|`CORED`| | ||
|Repository|`https://github.com/CoreumFoundation/coreum`| | ||
|Image|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-coreum-v4.1.2`| | ||
|
||
## Examples | ||
|
||
- Run on Akash with the [example deploy.yml](./deploy.yml) | ||
- Run with Docker 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](https://raw.githubusercontent.com/cosmos/chain-registry/master/coreum/chain.json) for Coreum. | ||
|
||
This will be used automatically unless overridden with the `CHAIN_JSON` variable (use `0` to disable). | ||
|
||
## Polkachu Chain Services | ||
|
||
[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, seeds, statesync, addrbooks and pruned snapshots among other features. | ||
|
||
The following configuration is available for Coreum nodes. [See the documentation](../README.md#polkachu-services) for more information. | ||
|
||
|Variable|Value| | ||
|---|---| | ||
|`P2P_POLKACHU`|`1`| | ||
|`P2P_SEEDS_POLKACHU`|`1`| | ||
|`P2P_PEERS_POLKACHU`|`1`| | ||
|`STATESYNC_POLKACHU`|`1`| | ||
|`ADDRBOOK_POLKACHU`|`1`| | ||
|
||
Polkachu also provide pruned snapshots for Coreum. Find the [latest snapshot](https://polkachu.com/tendermint_snapshots/akash) and apply it using the `SNAPSHOT_URL` variable. |
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 @@ | ||
services: | ||
node: | ||
build: | ||
context: ../ | ||
args: | ||
PROJECT: coreum | ||
PROJECT_BIN: cored | ||
PROJECT_DIR: .core/coreum-mainnet-1 | ||
REPOSITORY: https://github.com/CoreumFoundation/coreum | ||
VERSION: v4.1.2 | ||
BUILD_METHOD: binary | ||
BINARY_URL: https://github.com/CoreumFoundation/coreum/releases/download/v4.1.2/cored-linux-amd64 | ||
ports: | ||
- '26656:26656' | ||
- '26657:26657' | ||
- '1317:1317' | ||
volumes: | ||
- ./node-data:/root/.core/coreum-mainnet-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,52 @@ | ||
--- | ||
version: "2.0" | ||
services: | ||
node: | ||
image: ghcr.io/akash-network/cosmos-omnibus:v1.1.3-coreum-v4.1.2 | ||
env: | ||
- MONIKER=Cosmos Omnibus Node | ||
- P2P_POLKACHU=1 | ||
- STATESYNC_POLKACHU=1 | ||
- ADDRBOOK_POLKACHU=1 | ||
expose: | ||
- port: 26657 | ||
to: | ||
- global: true | ||
- port: 26656 | ||
to: | ||
- global: true | ||
params: # remove for non-persistent storage | ||
storage: | ||
data: | ||
mount: /root/.core/coreum-mainnet-1 | ||
profiles: | ||
compute: | ||
node: | ||
resources: | ||
cpu: | ||
units: 4 | ||
memory: | ||
size: 32Gi | ||
storage: | ||
- size: 10Gi | ||
- name: data # remove for non-persistent storage | ||
size: 400Gi | ||
attributes: | ||
persistent: true | ||
class: beta3 | ||
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,14 @@ | ||
services: | ||
node: | ||
image: ghcr.io/akash-network/cosmos-omnibus:v1.1.3-coreum-v4.1.2 | ||
ports: | ||
- '26656:26656' | ||
- '26657:26657' | ||
- '1317:1317' | ||
environment: | ||
- MONIKER=Cosmos Omnibus Node | ||
- P2P_POLKACHU=1 | ||
- STATESYNC_POLKACHU=1 | ||
- ADDRBOOK_POLKACHU=1 | ||
volumes: | ||
- ./node-data:/root/.core/coreum-mainnet-1 |