Skip to content

Commit

Permalink
feat(staging): Expose RPC on Westend Staging Node (#3687)
Browse files Browse the repository at this point in the history
Co-authored-by: Afri <58883403+q9f@users.noreply.github.com>
  • Loading branch information
jimjbrettj and q9f committed Jan 16, 2024
1 parent b77e715 commit c374eaa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
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
4 changes: 2 additions & 2 deletions Dockerfile.staging
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c374eaa

Please sign in to comment.