mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-02-28 09:03:11 +08:00
added healthcheck
This commit is contained in:
@@ -19,11 +19,14 @@ RUN \
|
||||
COPY rootfs /
|
||||
COPY --from=builder /src/target/release/hbbr /usr/bin/hbbr
|
||||
COPY --from=builder /src/target/release/hbbs /usr/bin/hbbs
|
||||
COPY healthcheck.sh /usr/bin/healthcheck.sh
|
||||
|
||||
ENV RELAY relay.example.com
|
||||
|
||||
EXPOSE 21115 21116 21116/udp 21117 21118 21119
|
||||
|
||||
HEALTHCHECK --interval=10s --timeout=5s CMD /usr/bin/healthcheck.sh
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
VOLUME /data
|
||||
|
||||
Reference in New Issue
Block a user