Skip to content

Commit ce02c74

Browse files
committed
fixed p2p port for docker
1 parent c249e2b commit ce02c74

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ COPY docker/entrypoint.sh /entrypoint.sh
5656
RUN chmod +x /entrypoint.sh
5757

5858
# Expose ports - P2P and RPC
59-
EXPOSE 7933 8589
59+
EXPOSE 8590 8589
6060

6161
# This directory was already created above
6262

docker/alpha.conf.default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ txindex=1
77
# Network-related settings
88
listen=1
99
bind=0.0.0.0
10-
port=7933
10+
port=8590
1111

1212
# RPC settings (for API access)
1313
server=1

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ services:
99
# Mount custom configuration if available
1010
- ./config:/config:ro
1111
ports:
12-
- "8589:8589" # RPC port
13-
- "7933:7933" # P2P port
12+
- "127.0.0.1:8589:8589" # RPC port (localhost only)
13+
- "8590:8590" # P2P port (public)
1414
restart: unless-stopped
1515

1616
volumes:

0 commit comments

Comments
 (0)