Skip to content

Commit

Permalink
add healthcheck to stream-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
RoggerFabri committed May 12, 2023
1 parent 5cf3589 commit efc95a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stream-manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ USER appuser

ENTRYPOINT ["dumb-init", "--"]
CMD [ "python3","-u","./stream_manager.py" ]

HEALTHCHECK --interval=5s --timeout=3s \
CMD netstat -a | grep $SNAPSERVER_IP.*$SNAPSERVER_PORT.*ESTABLISHED

0 comments on commit efc95a3

Please sign in to comment.