Skip to content

Commit

Permalink
docker: never expose IPFS API (port 5001)
Browse files Browse the repository at this point in the history
in addition, document the ports exposed, and remove the abandoned ones:
 * 9091: w3HttpPort (web3 websocket port)
 * 4171: ipfsSync --port for the ipfsSync network
 * 30303: w3nodePort (Ethereum p2p node port to use)
 * 9096: undocumented
 * 26657: vochainRPCListen (rpc port to listen to for the voting chain)
  • Loading branch information
altergui committed Oct 24, 2023
1 parent 687ef7b commit bf96064
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions dockerfiles/vocdoninode/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,13 @@ services:
- "run:/app/run"
- "eth:/app/eth:ro"
ports:
- "443:9090"
- "9090:9090"
- "9091:9091"
- "4001:4001"
- "4171:4171"
- "5001:5001"
- "30303:30303"
- "30303:30303/udp"
- "9096:9096"
- "26656:26656"
- "26657:26657"
- "26658:26658"
- "61000-61100:61000-61100"
- "443:9090" # REST API gateway
- "9090:9090" # REST API gateway
- "4001:4001" # IPFS swarm
- "[::1]:5001:5001" # IPFS api, never expose outside localhost
- "26656:26656" # CometBFT p2p port (PublicAddr)
- "[::1]:26658:26658" # CometBFT PrivValidatorListenAddr (disabled by default)
- "[::1]:61000-61100:61000-61100" # PprofPort (runtime profiling data, disabled by default)
sysctls:
net.core.somaxconn: 8128
restart: ${RESTART:-no}
Expand Down

0 comments on commit bf96064

Please sign in to comment.