Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore(staging): Expose RPC on Westend Staging Node #3687

Merged
merged 7 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/staging/westend-taskdef.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"containerPort": 7001,
"protocol": "tcp"
},
{
"containerPort": 8545,
"protocol": "tcp"
},
{
"containerPort": 8546,
"protocol": "tcp"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.staging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.21

ARG chain="polkadot"
ARG chain="westend"
ARG basepath="~/.gossamer"
ARG DD_API_KEY

Expand All @@ -20,5 +20,5 @@ RUN go get ./...
RUN go install -trimpath github.com/ChainSafe/gossamer/cmd/gossamer

RUN ["sh", "-c", "gossamer init --chain=${chain} --base-path=${basepath}/${chain}"]
ENTRYPOINT ["sh", "-c", "service datadog-agent start && gossamer --chain=${chain} --base-path=${basepath}/${chain} --prometheus-external --prometheus-port=9876 --pprof.enabled --pprof.listening-address=\":6060\""]
EXPOSE 7001 8546 8540 9876 6060
ENTRYPOINT ["sh", "-c", "service datadog-agent start && gossamer --chain=${chain} --base-path=${basepath}/${chain} --rpc-external=true --unsafe-rpc=true --prometheus-external --prometheus-port=9876 --pprof.enabled --pprof.listening-address=\":6060\""]
EXPOSE 7001 8545 8546 8540 9876 6060
Loading