Skip to content

Commit

Permalink
Expose North Port (Atos-Research-and-Innovation#56)
Browse files Browse the repository at this point in the history
LoRaWAN Equivalent of telefonicaid/iotagent-ul#342 (maybe?)

I'm not sure if you need another port exposed by default, or is it all done in the `conf` for now.

Note that your default `config.js` states port 4061, the `README` of the `Dockerfile` states 4041 - I'm not quite sure which should be the defauly.
  • Loading branch information
jason-fox authored and dcalvoalonso committed Feb 25, 2019
1 parent a710f68 commit df3bdcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@ RUN \
USER node
ENV NODE_ENV=production

# Expose 4041 for NORTH PORT
EXPOSE ${IOTA_NORTH_PORT:-4041}

ENTRYPOINT ["pm2-runtime", "bin/iotagent-lora"]
CMD ["-- ", "config.js"]

0 comments on commit df3bdcc

Please sign in to comment.