mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-06 08:27:22 +08:00
Health check
This commit is contained in:
parent
8c9cdc659d
commit
8a4c969dec
@ -52,6 +52,6 @@ ENV CPU_CORES 1
|
||||
ENV DISK_SIZE 16G
|
||||
ENV RAM_SIZE 512M
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl -f http://127.0.0.1:5000/ || exit 1
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl -f http://20.20.20.21:5000/ || exit 1
|
||||
|
||||
ENTRYPOINT ["/run/run.sh"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user