Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
hard-nett committed Nov 15, 2024
1 parent 25ca2cf commit cfa9e7b
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update && \
#
FROM build_base AS build_wasmvm

ARG WASMVM_VERSION=v0.16.7
ARG WASMVM_VERSION=v1.5.4
ARG WASMVM_URL=https://raw.githubusercontent.com/CosmWasm/wasmvm/${WASMVM_VERSION}/api/libwasmvm.so
ADD ${WASMVM_URL} /lib/libwasmvm.so

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,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/terp-network/o-line:v0.07-generic`
Image URL: `ghcr.io/terp-network/o-line:v0.0.8-generic`

```yaml
services:
node:
image: ghcr.io/terpnetwork/o-line:v0.07-generic
image: ghcr.io/terpnetwork/o-line:v0.0.8-generic
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/refs/heads/master/terpnetwork/chain.json
Expand All @@ -45,7 +45,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`.

|Project|Version|Image| |
|---|---|---|---|
|[terp-network](https://github.com/terpnetwork/terp-core)|`v4.2.2`|`terpnetwork/o-line:v0.07`|[Example](./terpnetwork)|
|[terp-network](https://github.com/terpnetwork/terp-core)|`v4.2.2`|`terpnetwork/o-line:v0.0.8`|[Example](./terpnetwork)|

## Example configurations

Expand Down Expand Up @@ -260,7 +260,7 @@ See [Cosmos docs](https://docs.tendermint.com/master/nodes/configuration.html) f

### Creating New ghcr.io image:
```sh
git tag v0.07 && git push --tags
git tag v0.0.8 && git push --tags
```

<!-- Adding a new chain is easy:
Expand Down
2 changes: 1 addition & 1 deletion _examples/load-balanced-rpc-nodes/lb-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/tombeynon/nginx-dynamic-lb:v0.07
image: ghcr.io/tombeynon/nginx-dynamic-lb:v0.0.8
env:
- HOST=mylbdomain.com
- HOSTS=<node_deploy_1:port,node_deploy_2:port...>
Expand Down
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
env:
- MONIKER=private_node_2
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
env:
- MONIKER=validator
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
4 changes: 2 additions & 2 deletions _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/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand All @@ -23,7 +23,7 @@ services:
data:
mount: /root/.akash
proxy:
image: ghcr.io/ovrclk/stunnel-proxy:v0.07
image: ghcr.io/ovrclk/stunnel-proxy:v0.0.8
env:
- PSK=DmtaC6N3HOWFkJZpNZs2dkabFT5yQONw # must match PSK in Stunnel client
- STUNNEL_SVC_RPC_ACCEPT=36657 # accept 36657
Expand Down
2 changes: 1 addition & 1 deletion _examples/validator-and-tmkms/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
stunnel:
image: ghcr.io/ovrclk/stunnel-proxy:v0.07
image: ghcr.io/ovrclk/stunnel-proxy:v0.0.8
environment:
- PSK=DmtaC6N3HOWFkJZpNZs2dkabFT5yQONw # must match PSK in Stunnel server
- STUNNEL_SVC_RPC_CLIENT=yes # client mode - we are sending connections from this proxy
Expand Down
16 changes: 10 additions & 6 deletions terpnetwork/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,24 @@ version: "2.0"

services:
node:
image: ghcr.io/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
env:
- MONIKER=my-moniker-1
- CHAIN_ID=morocco-1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/terpnetwork/chain.json
- GENESIS_URL=https://raw.githubusercontent.com/terpnetwork/networks/main/mainnet/morocco-1/genesis.json
# peers
- P2P_SEEDS=d8256642afae77264bcce1631d51233a9d00249b@terp-mainnet-seed.itrocket.net:13656
- P2P_PERSISTENT_PEERS=a81dc3bf1bb1c3837b768eeb82659eecc971890b@terp-mainnet-peer.itrocket.net:13656
# snapshot
- SNAPSHOT_URL=https://snapshots.nodejumper.io/terp/terp_latest.tar.lz4
# state-sync
- FASTSYNC_VERSION=v0
- STATESYNC_RPC_SERVERS=<https://terp-mainnet-rpc.itrocket.net:443,https://terp.rpc.m.anode.team:443,https://rpc.terp.aknodes.net:443>
# - FASTSYNC_VERSION=v0
# - STATESYNC_RPC_SERVERS=<https://terp-mainnet-rpc.itrocket.net:443,https://terp.rpc.m.anode.team:443,https://rpc.terp.aknodes.net:443>
# pruning options
- PRUNING_CUSTOM=1
- PRUNING_KEEP_RECENT=100000
- PRUNING_INTERVAL=100
# - PRUNING_CUSTOM=1
# - PRUNING_KEEP_RECENT=100000
# - PRUNING_INTERVAL=100
expose:
- port: 26657 # rpc
as: 80
Expand Down
2 changes: 1 addition & 1 deletion terpnetwork/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.4'

services:
node_1:
image: ghcr.io/terpnetwork/o-line:v0.07-terpnetwork-v4.2.2
image: ghcr.io/terpnetwork/o-line:v0.0.8-terpnetwork-v4.2.2
ports:
- '26656:26656' # peer
- '26657:26657' # rpc
Expand Down

0 comments on commit cfa9e7b

Please sign in to comment.