Last active
March 19, 2023 10:07
-
-
Save andy108369/a869d1d43cd8c67c0700c7acebc36838 to your computer and use it in GitHub Desktop.
SDL Deployment manifest to run Sifchain validator in Akash decentralized cloud
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
# based on https://github.com/ovrclk/cosmos-omnibus/blob/master/sifchain/deploy.yml | |
# https://gist.github.com/andy108369/a869d1d43cd8c67c0700c7acebc36838 | |
# 19 March 2023 | |
# | |
# - 1. upload GPG-encrypted (use `--symmetric` flag) node_key.json & priv_validator_key.json to your Storj or Filebase S3-compatible bucket | |
# - 2. update REDACTED fields | |
# - 3. deploy it in Akash Network https://docs.akash.network/guides | |
--- | |
version: "2.0" | |
services: | |
node: | |
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.26-sifchain-v1.1.0-beta | |
#image: ghcr.io/akash-network/cosmos-omnibus:v0.3.17-generic | |
env: | |
- MONIKER=REDACTED | |
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/sifchain/chain.json | |
- P2P_POLKACHU=1 | |
- STATESYNC_POLKACHU=1 | |
#- SNAPSHOT_POLKACHU=1 | |
- MINIMUM_GAS_PRICES=0.5rowan | |
- SIFNODED_CONSENSUS_DOUBLE_SIGN_CHECK_HEIGHT=10 | |
- PRUNING=custom | |
- PRUNING_INTERVAL=10 | |
- PRUNING_KEEP_EVERY=2000 | |
- PRUNING_KEEP_RECENT=100 | |
### state-sync node mode | |
# do a snapshot every (2000*6)/60 = 200 minutes (having the block time is 6 seconds) | |
#- STATESYNC_SNAPSHOT_INTERVAL=2000 | |
#- SIFNODED_STATESYNC_SNAPSHOT_KEEP_RECENT=5 | |
#- BINARY_URL=https://github.com/Sifchain/sifnode/releases/download/v1.1.0-beta/sifnoded-v1.1.0-beta-linux-amd64.zip | |
#- BINARY_ZIP_PATH=sifnoded | |
# Cosmovisor config | |
- COSMOVISOR_ENABLED=1 | |
- DAEMON_ALLOW_DOWNLOAD_BINARIES=true | |
- DAEMON_RESTART_AFTER_UPGRADE=true | |
- DAEMON_LOG_BUFFER_SIZE=512 | |
- UNSAFE_SKIP_BACKUP=true | |
# Key | |
- S3_KEY=jwREDACTED | |
- S3_SECRET=j3REDACTED | |
#- S3_HOST=https://s3.filebase.com | |
# https://docs.storj.io/dcs/getting-started/gateway-mt#VcSll | |
- S3_HOST=https://gateway.storjshare.io | |
- KEY_PATH=bucketnameREDACTED | |
- KEY_PASSWORD=REDACTED | |
expose: | |
- port: 26657 | |
as: 80 | |
to: | |
- global: true | |
- port: 26656 | |
to: | |
- global: true | |
profiles: | |
compute: | |
node: | |
resources: | |
cpu: | |
units: 1 | |
memory: | |
size: 8Gi | |
storage: | |
size: 100Gi | |
placement: | |
dcloud: | |
attributes: | |
host: akash | |
signedBy: | |
anyOf: | |
- akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63 | |
pricing: | |
node: | |
denom: uakt | |
amount: 1000000 | |
deployment: | |
node: | |
dcloud: | |
profile: node | |
count: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment