Skip to content

Commit

Permalink
Merge pull request #82 from flowforge/hardillb-patch-1
Browse files Browse the repository at this point in the history
Expose the port so it can be used for HTTP-in/out
  • Loading branch information
ZJvandeWeg committed Dec 19, 2022
2 parents 7b331a9 + fc886b5 commit b59ff2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions flowforge-device-agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ FROM node:16-alpine
RUN mkdir /opt/flowforge-device
RUN npm install -g @flowforge/flowforge-device-agent

EXPOSE 1880

CMD ["flowforge-device-agent"]
2 changes: 1 addition & 1 deletion flowforge-device-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ be [registered on your FlowForge instance](https://flowforge.com/docs/user/devic
The YAML with configuration needs to be mounted inside the container.

```
docker run --mount /path/to/device.yml:/opt/flowforge-device/device.yml flowforge-device-agent:latest
docker run --mount /path/to/device.yml:/opt/flowforge-device/device.yml -p 1880:1880 flowforge-device-agent:latest
```

0 comments on commit b59ff2e

Please sign in to comment.