Skip to content

Commit

Permalink
Merge pull request #8 from Lightprotocol/vadorovsky/test-validator-ex…
Browse files Browse the repository at this point in the history
…pose-ports

solana-test-validator: Expose ports explicitly
  • Loading branch information
SwenSchaeferjohann authored May 30, 2023
2 parents d945634 + 8129156 commit 521d442
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions solana-test-validator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@ ARG BASE_IMAGE=ghcr.io/lightprotocol/devcontainer:main

FROM ${BASE_IMAGE}

# RPC JSON
EXPOSE 8899/tcp
# RPC pubsub
EXPOSE 8900/tcp
# entrypoint
EXPOSE 8001/tcp
# (future) bank service
EXPOSE 8901/tcp
# bank service
EXPOSE 8902/tcp
# faucet
EXPOSE 9900/tcp
# tvu
EXPOSE 8000/udp
# gossip
EXPOSE 8001/udp
# tvu_forwards
EXPOSE 8002/udp
# tpu
EXPOSE 8003/udp
# tpu_forwards
EXPOSE 8004/udp
# retransmit
EXPOSE 8005/udp
# repair
EXPOSE 8006/udp
# serve_repair
EXPOSE 8007/udp
# broadcast
EXPOSE 8008/udp
# tpu_vote
EXPOSE 8009/udp

COPY entrypoint.sh /home/node/.local/light-protocol/bin/entrypoint.sh

ENTRYPOINT ["/home/node/.local/light-protocol/bin/entrypoint.sh"]

0 comments on commit 521d442

Please sign in to comment.