Skip to content

Commit

Permalink
Fixed: Port 1680 is not just for localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
Murat Ursavas committed Apr 18, 2022
1 parent 850784c commit 938dcd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Repo: [github.com/NebraLtd/hm-gatewayrs](https://github.com/NebraLtd/hm-gatewayr
This container is the actual Helium Gateway-rs software (from upstream), with the required configuration files added.

Gatewayrs container requires two IP ports exposed as default.
- [1680](https://github.com/helium/gateway-rs/blob/d6e140fc8f102d2e1008ddf6d58cef32c4f60392/src/settings.rs#L18): For connecting to packet-forwarder over localhost (127.0.0.1)
- [1680](https://github.com/helium/gateway-rs/blob/d6e140fc8f102d2e1008ddf6d58cef32c4f60392/src/settings.rs#L18): For connecting to packet-forwarder.
- [4467](https://github.com/helium/gateway-rs/blob/d6e140fc8f102d2e1008ddf6d58cef32c4f60392/src/settings.rs#L22): For connecting to gRPC API over WAN.

Both of these ports can be changed via settings (toml) file.
Expand Down
6 changes: 3 additions & 3 deletions templates/docker-compose.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
gateway-config:
image: nebraltd/hm-config:{{CONFIG_VERSION}}
depends_on:
- gatewayrs
- helium-miner
- diagnostics
environment:
- FIRMWARE_VERSION={{FIRMWARE_VERSION}}
Expand All @@ -24,7 +24,7 @@ services:
packet-forwarder:
image: nebraltd/hm-pktfwd:{{PKTFWD_VERSION}}
depends_on:
- gatewayrs
- helium-miner
restart: always
privileged: true
volumes:
Expand All @@ -49,7 +49,7 @@ services:
diagnostics:
image: nebraltd/hm-diag:{{DIAGNOSTICS_VERSION}}
depends_on:
- gatewayrs
- helium-miner
environment:
- FIRMWARE_VERSION={{FIRMWARE_VERSION}}
- FIRMWARE_SHORT_HASH={{ENV.FIRMWARE_SHORT_HASH}}
Expand Down

0 comments on commit 938dcd2

Please sign in to comment.