mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
feat: added TCP healthcheck with nc, better clipboard support, fixed docker deployments and minor changes
This commit is contained in:
parent
990696e419
commit
7992dd607a
10 changed files with 70 additions and 37 deletions
|
@ -20,5 +20,9 @@ COPY --from=builder /go/croc/croc /go/croc/croc-entrypoint.sh /
|
|||
|
||||
USER nobody
|
||||
|
||||
# Simple TCP health check with nc!
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD nc -z localhost 9009 || exit 1
|
||||
|
||||
ENTRYPOINT ["/croc-entrypoint.sh"]
|
||||
CMD ["relay"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue