Skip to content

Commit f6262fc

Browse files
authored
Enable session ports (#5)
* Enable session ports * Update Dockerfile
1 parent a05bfe7 commit f6262fc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ FROM europe-west3-docker.pkg.dev/hoprassociation/docker-images/hoprd:${UPSTREAM_
55
ENV DAPPNODE=true
66

77
ADD hoprd.cfg.yaml /app/hoprd.cfg.yaml
8-
9-
ENTRYPOINT ["/bin/hoprd", "--configurationFilePath", "/app/hoprd.cfg.yaml"]

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ services:
2626
- 9198:9198/udp
2727
- 9199:9199/tcp
2828
- 9199:9199/udp
29+
- "10000-10100:10000-10100/tcp"
30+
- "10000-10100:10000-10100/udp"
2931
volumes:
3032
- "db:/app/hoprd-db"
3133
security_opt:
@@ -42,6 +44,7 @@ services:
4244
HOPR_INTERNAL_LIBP2P_YAMUX_MAX_NUM_STREAMS: 1024
4345
HOPRD_PASSWORD: ""
4446
HOPRD_PROVIDER: ""
47+
HOPRD_SESSION_PORT_RANGE: "10000:10100"
4548
restart: unless-stopped
4649
deploy:
4750
resources:

0 commit comments

Comments
 (0)