Skip to content

Commit

Permalink
bump ghcr image name & version
Browse files Browse the repository at this point in the history
  • Loading branch information
hard-nett committed Nov 13, 2024
1 parent 0fc6eaa commit 123703d
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ RUN apt-get update && \
# Note optional `BUILD_IMAGE` argument controls the base image
#
FROM ${BUILD_IMAGE} AS omnibus
LABEL org.opencontainers.image.source https://github.com/akash-network/cosmos-omnibus
LABEL org.opencontainers.image.source https://github.com/terpnetwork/o-line

RUN apt-get update && \
apt-get install --no-install-recommends --assume-yes ca-certificates curl wget file unzip liblz4-tool gnupg2 jq pv && \
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# TERP Oline - Run Terp Network Nodes on Akash
# TERP O-Line - Run Terp Network Nodes on Akash

This is a meta package of [cosmos-sdk](https://github.com/cosmos/cosmos-sdk)-based
docker images and configuration meant to make deploying onto [Akash](//github.com/akash-network/node)
Make deploying Terp Network nodes onto [Akash](//github.com/akash-network/node)
easy and standardized.

The goal is to have a simple way to launch with a variety of different bootstrapping options.
Expand All @@ -25,12 +24,12 @@ O-line has a generic base image which can download the required binary at runtim

This generic image provides the O-line scripts and configuration helpers, and nothing else. Set the `BINARY_URL` environment variable to a `.zip`, `.tar` or `.tar.gz` URL, and configure `PROJECT`, `PROJECT_DIR` and `PROJECT_BIN`. Alternatively provide a [Chain Registry](https://github.com/cosmos/chain-registry) `CHAIN_JSON` to configure everything automatically (where data is available).

Image URL: `ghcr.io/akash-network/cosmos-omnibus:v0.4.18-generic`
Image URL: `ghcr.io/terp-network/o-line:v0.0.1-generic`

```yaml
services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-generic
image: ghcr.io/terpnetwork/o-line:v0.0.1-generic
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/refs/heads/master/terpnetwork/chain.json
Expand All @@ -41,7 +40,7 @@ More information on the generic image can be found at [/generic](./generic/), an
## Networks (pre-built images)
The available docker images can be found [here](https://github.com/orgs/akash-network/packages/container/package/cosmos-omnibus). They are
The available docker images can be found [here](https://github.com/terpnetwork/o-line/pkgs/container/o-line). They are
tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`.

|Project|Version|Image| |
Expand Down Expand Up @@ -85,7 +84,7 @@ Every chain has its own prefix, but the format of the configuration is the same.
For example to configure the `seeds` option in the `p2p` section of `config.toml`, for the Akash blockchain:

```
AKASH_P2P_SEEDS=id@node:26656
TERP_P2P_SEEDS=id@node:26656
```

The namespace for each of the supported chains in the cosmos omnibus can be found in the `README` in each project directory.
Expand All @@ -98,9 +97,9 @@ Chain config can be sourced from a `chain.json` file [as seen in the Cosmos Chai

|Variable|Description|Default|Examples|
|---|---|---|---|
|`CHAIN_JSON`|URL to a `chain.json` file detailing the chain meta| |`https://github.com/cosmos/chain-registry/blob/master/akash/chain.json`
|`CHAIN_JSON`|URL to a `chain.json` file detailing the chain meta| |`https://raw.githubusercontent.com/terpnetwork/networks/main/mainnet/morocco-1/genesis.json`
|`CHAIN_ID`|The cosmos chain ID| |`akashnet-2`
|`GENESIS_URL`|URL to the genesis file in `.gz`, `.tar.gz`, or `.zip` format. Can be set by CHAIN_JSON| |`https://raw.githubusercontent.com/akash-network/net/main/mainnet/genesis.json`
|`GENESIS_URL`|URL to the genesis file in `.gz`, `.tar.gz`, or `.zip` format. Can be set by CHAIN_JSON| |`https://raw.githubusercontent.com/terp/net/main/mainnet/genesis.json`
|`DOWNLOAD_GENESIS`|Force download of genesis file. If unset the node will only download if the genesis file is missing| |`1`|
|`VALIDATE_GENESIS`|Set to 1 to enable validation of genesis file|`0`|`1`

Expand All @@ -118,7 +117,7 @@ See [Cosmos docs](https://docs.tendermint.com/master/nodes/configuration.html#p2
|---|---|---|---|
|`P2P_SEEDS`|Seed nodes. Can be set by CHAIN_JSON or GENESIS_URL| |`id@node:26656`|
|`P2P_PERSISTENT_PEERS`|Persistent peers. Can be set by CHAIN_JSON or GENESIS_URL| |`id@node:26656`|
|`ADDRBOOK_URL`|URL to an addrbook.json file| |`https://quicksync.io/addrbook.terra.json`
|`ADDRBOOK_URL`|URL to an addrbook.json file| |`https://server-3.itrocket.net/mainnet/terp/addrbook.json`

### Private key backup/restore

Expand Down Expand Up @@ -254,6 +253,7 @@ See [Cosmos docs](https://docs.tendermint.com/master/nodes/configuration.html) f
|`FASTSYNC_VERSION`|The fastsync version| |`v0`|
|`MINIMUM_GAS_PRICES`|Minimum gas prices| |`0.025uthiol`|
|`PRUNING`|How much of the chain to prune| |`nothing`|
|`PRUNING_CUSTOM`|custom pruning options| |`1`|
|`DEBUG`|Set to `1` to output all environment variables on boot. Set to `2` to debug shell scripts.| |`1`, `2`|

## Contributing
Expand All @@ -262,6 +262,6 @@ See [Cosmos docs](https://docs.tendermint.com/master/nodes/configuration.html) f

- Ideally source or setup a `chain.json` to provide a single source of truth for chain info
- Add a project directory based on the existing projects
- Update the [github workflow](https://github.com/akash-network/cosmos-omnibus/blob/master/.github/workflows/publish.yaml) to create an image for your chain
- Update the [github workflow](https://github.com/terpnetwork/o-line/blob/master/.github/workflows/publish.yaml) to create an image for your chain

Submit a PR or an issue if you want to see any specific chains. -->
2 changes: 1 addition & 1 deletion _examples/load-balanced-rpc-nodes/node_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
2 changes: 1 addition & 1 deletion _examples/snapshot_backup/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
4 changes: 2 additions & 2 deletions _examples/statesync/snapshot-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=public-node-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand All @@ -26,7 +26,7 @@ services:
# data:
# mount: /root/.akash
node2:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=public-node-2
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
2 changes: 1 addition & 1 deletion _examples/statesync/statesync-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
6 changes: 3 additions & 3 deletions _examples/validator-and-private-sentries/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
validator:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=validator
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down Expand Up @@ -38,7 +38,7 @@ services:
# data:
# mount: /root/.akash
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down Expand Up @@ -68,7 +68,7 @@ services:
# data:
# mount: /root/.akash
node2:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=private_node_2
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
6 changes: 3 additions & 3 deletions _examples/validator-and-public-sentries/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Validator and Public Sentries

> You can replace Akash with any other chain supported by the cosmos-omnibus project https://github.com/akash-network/cosmos-omnibus or is available via meta.json (see https://github.com/cosmos/chain-registry )
> You can replace Akash with any other chain supported by the cosmos-omnibus project https://github.com/terpnetwork/o-line or is available via meta.json (see https://github.com/cosmos/chain-registry )
Sentry node is the internet facing node which serves the blocks to the validator as well as distributes them from the validator when validator signs them upon its turn in the tendermint consensus.

Expand Down Expand Up @@ -80,7 +80,7 @@ $ curl -s http://gjmpnp4ag5e8v14rubecqafvt4.ingress.sandbox.ny.aksh.pw/net_info
## Additional information

- [Sentry node architecture overview](https://forum.cosmos.network/t/sentry-node-architecture-overview/454)
- [Validator and Private Sentries](https://github.com/akash-network/cosmos-omnibus/tree/master/_examples/validator-and-private-sentries)
- [Validator and Public Sentries](https://github.com/akash-network/cosmos-omnibus/tree/master/_examples/validator-and-public-sentries)
- [Validator and Private Sentries](https://github.com/terpnetwork/o-line/tree/master/_examples/validator-and-private-sentries)
- [Validator and Public Sentries](https://github.com/terpnetwork/o-line/tree/master/_examples/validator-and-public-sentries)
- [Sentry Nodes (DDOS Protection)](https://hub.cosmos.network/main/validators/security.html#sentry-nodes-ddos-protection)

4 changes: 2 additions & 2 deletions _examples/validator-and-public-sentries/sentries-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down Expand Up @@ -32,7 +32,7 @@ services:
# data:
# mount: /root/.akash
node2:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=private_node_2
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
validator:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=validator
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
2 changes: 1 addition & 1 deletion _examples/validator-and-tmkms/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.18-akash-v0.36.0
image: ghcr.io/terpnetwork/o-line:v0.0.1-akash-v0.36.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down

0 comments on commit 123703d

Please sign in to comment.