-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove process-compose and individual start scripts
- Loading branch information
Prad N
committed
Jan 10, 2025
1 parent
2d3d192
commit a06bae6
Showing
9 changed files
with
71 additions
and
206 deletions.
There are no files selected for viewing
Empty file.
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 @@ | ||
name: sonr-testnet | ||
version: 0.2.20 | ||
|
||
chains: | ||
- id: sonr-test | ||
name: custom | ||
image: ghcr.io/onsonr/sonr:latest | ||
home: /root/.sonr | ||
binary: sonrd | ||
prefix: idx | ||
denom: usnr | ||
coins: 100000000000000usnr,100000000000000snr | ||
repo: https://github.com/onsonr/sonr | ||
ports: | ||
rest: 1317 | ||
rpc: 26657 | ||
faucet: 8001 | ||
|
||
- id: osmosis-1 | ||
name: osmosis | ||
numValidators: 2 | ||
ports: | ||
rest: 1313 | ||
rpc: 26653 | ||
faucet: 8003 | ||
|
||
- id: cosmoshub-4 | ||
name: cosmoshub | ||
numValidators: 2 | ||
ports: | ||
rest: 1319 | ||
rpc: 26659 | ||
faucet: 8009 | ||
|
||
relayers: | ||
- name: osmos-cosmos-sonr | ||
type: hermes | ||
replicas: 1 | ||
chains: | ||
- osmosis-1 | ||
- cosmoshub-4 | ||
- sonr-testnet-1 | ||
|
||
explorer: | ||
enabled: true | ||
ports: | ||
rest: 3400 | ||
|
||
registry: | ||
enabled: true | ||
ports: | ||
rest: 3401 |
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 was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -29,26 +29,20 @@ RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build \ | |
&& (file /code/build/sonrd | grep "statically linked") | ||
|
||
# -------------------------------------------------------- | ||
FROM debian:11-slim | ||
FROM alpine:3.17 | ||
|
||
LABEL org.opencontainers.image.source https://github.com/onsonr/sonr | ||
LABEL org.opencontainers.image.title="sonr" | ||
LABEL org.opencontainers.image.authors="diDAO <[email protected]>" | ||
LABEL org.opencontainers.image.source=https://github.com/onsonr/sonr | ||
|
||
COPY --from=go-builder /code/build/sonrd /usr/bin/sonrd | ||
|
||
# Install dependencies for Debian 11 | ||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
make \ | ||
bash \ | ||
jq \ | ||
sed \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
# Set up dependencies | ||
ENV PACKAGES="curl make bash jq sed" | ||
|
||
COPY scripts/test_node.sh /usr/bin/test_node.sh | ||
# Install minimum necessary dependencies | ||
RUN apk add --no-cache $PACKAGES | ||
|
||
WORKDIR /opt | ||
|
||
# rest server, tendermint p2p, tendermint rpc | ||
EXPOSE 1317 26656 26657 6060 | ||
|
||
ENTRYPOINT ["/usr/bin/sonrd"] |
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