Deploying tenderseed to supprt a healthy cosmos

Tenderseed

Is just the p2p layer of Tendermint, used to provide seed nodes to strengthen the network. In the past, I have used it very successfully to provide seeds, but I needed to nuke that server.

By doing this, we can solve a very serious cosmos issue using Akash: There just are not enough seeds, because they’re not super easy to run.

Have a look: GitHub - notional-labs/tinyseed: Seed node for Tendermint based chains

---
version: "2.0"

services:
  osmosis:
    image: ghcr.io/notional-labs/tinyseed:latest
#    env:
#      - AKASH_MONIKER=my-node-name
    expose:
      - port: 8080
        as: 80
        to:
          - global: true
      - port: 6969
        to:
          - global: true
profiles:
  compute:
    osmosis:
      resources:
        cpu:
          units: 1
        memory:
          size: 200Mi
        storage:
          size: 200Mi
  placement:
    dcloud:
      pricing:
        osmosis:
          denom: uakt
          amount: 10
deployment:
  osmosis:
    dcloud:
      profile: osmosis
      count: 1

That’ll do Osmosis. For Gaia, just add environment variables

ID=cosmoshub-4
SEEDS=bf8328b66dceb4987e5cd94430af66045e59899f@public-seed.cosmos.vitwit.com:26656,cfd785a4224c7940e9a10f6c1ab24c343e923bec@164.68.107.188:26656,d72b3011ed46d783e369fdf8ae2055b99a1e5074@173.249.50.25:26656,ba3bacc714817218562f743178228f23678b2873@public-seed-node.cosmoshub.certus.one:26656,3c7cad4154967a294b3ba1cc752e40e8779640ad@84.201.128.115:26656,366ac852255c3ac8de17e11ae9ec814b8c68bddb@51.15.94.196:26656

---
version: "2.0"

services:
  osmosis:
    image: ghcr.io/notional-labs/tinyseed:latest
    env:
      - ID=cosmoshub-4
      - SEEDS=bf8328b66dceb4987e5cd94430af66045e59899f@public-seed.cosmos.vitwit.com:26656,cfd785a4224c7940e9a10f6c1ab24c343e923bec@164.68.107.188:26656,d72b3011ed46d783e369fdf8ae2055b99a1e5074@173.249.50.25:26656,ba3bacc714817218562f743178228f23678b2873@public-seed-node.cosmoshub.certus.one:26656,3c7cad4154967a294b3ba1cc752e40e8779640ad@84.201.128.115:26656,366ac852255c3ac8de17e11ae9ec814b8c68bddb@51.15.94.196:26656
    expose:
      - port: 8080
        as: 80
        to:
          - global: true
      - port: 6969
        to:
          - global: true
profiles:
  compute:
    osmosis:
      resources:
        cpu:
          units: 1
        memory:
          size: 200Mi
        storage:
          size: 200Mi
  placement:
    dcloud:
      pricing:
        osmosis:
          denom: uakt
          amount: 10
deployment:
  osmosis:
    dcloud:
      profile: osmosis
      count: 1

For aksash:

---
version: "2.0"

services:
  osmosis:
    image: ghcr.io/notional-labs/tinyseed:latest
    env:
      - ID=akashnet-2
      - SEEDS=27eb432ccd5e895c5c659659120d68b393dd8c60@35.247.65.183:26656,8e2f56098f182ffe2f6fb09280bafe13c63eb42f@46.101.176.149:26656,fff99a2e8f3c9473e4e5ee9a99611a2e599529fd@46.166.138.218:26656
    expose:
      - port: 8080
        as: 80
        to:
          - global: true
      - port: 6969
        to:
          - global: true
profiles:
  compute:
    osmosis:
      resources:
        cpu:
          units: 1
        memory:
          size: 200Mi
        storage:
          size: 200Mi
  placement:
    dcloud:
      pricing:
        osmosis:
          denom: uakt
          amount: 10
deployment:
  osmosis:
    dcloud:
      profile: osmosis
      count: 1

TODO: Tinyseed should serve a status page with various insights about the network, and that status shouldn’t require MaxMind.

3 Likes