Skip to content

Commit

Permalink
blueos-ping-viewer-next: Dockerfile: Bind volume following standards
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin committed Feb 13, 2025
1 parent 657e943 commit e482956
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion blueos-ping-viewer-next/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ LABEL permissions='{\
},\
"HostConfig": {\
"Privileged": true,\
"NetworkMode": "host"\
"NetworkMode": "host",\
"Binds": [\
"/usr/blueos/extensions/ping-viewer-next/logs:/app/logs"\
]\
}\
}'
LABEL authors='[\
Expand Down
3 changes: 3 additions & 0 deletions blueos-ping-viewer-next/files/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
set -m
echo "Starting ping viewer next..."
cd app
mkdir logs
chmod -R 755 /app/logs
chown -R pingviewer:pingviewer /app/logs
su pingviewer -c "./ping-viewer-next --enable-auto-create --rest-server 0.0.0.0:6060"

0 comments on commit e482956

Please sign in to comment.