Skip to content

Commit

Permalink
Improve port assignment for safety
Browse files Browse the repository at this point in the history
  • Loading branch information
rjehangir authored and Williangalvani committed Jan 30, 2024
1 parent 085dd25 commit 505241c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
14 changes: 13 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,19 @@ RUN cd /home/pi/dvl-a50 && pip3 install .
LABEL version="1.0.3"
LABEL permissions='\
{\
"NetworkMode": "host"\
"ExposedPorts": {\
"9001/tcp": {}\
},\
"HostConfig": {\
"Binds":["/root/.config:/root/.config"],\
"PortBindings": {\
"9001/tcp": [\
{\
"HostPort": ""\
}\
]\
}\
}\
}'
LABEL authors='[\
{\
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Changelog

### v1.0.3
- Uses an random available port instead of 9001 to avoid conflict
- Updated menu icon

### v1.0.2
- Improved style

Expand Down
4 changes: 2 additions & 2 deletions dvl-a50/static/service.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name":"DVL A50",
"description":"Driver for Waterlinked's DVL A50",
"icon":"mdi-clock-fast",
"icon":"mdi-dots-vertical",
"company":"Blue Robotics",
"version":"1.0.1",
"version":"1.0.3",
"webpage":"https://github.com/bluerobotics/BlueOS-Water-Linked-DVL",
"api":""
}

0 comments on commit 505241c

Please sign in to comment.