mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Add healthcheck
This commit is contained in:
parent
bf8b2c1195
commit
0418fba2d1
@ -52,4 +52,6 @@ ENV CPU_CORES 1
|
|||||||
ENV DISK_SIZE 16G
|
ENV DISK_SIZE 16G
|
||||||
ENV RAM_SIZE 512M
|
ENV RAM_SIZE 512M
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=30s --timeout=5s CMD curl -f http://127.0.0.1:5000/ || exit 1
|
||||||
|
|
||||||
ENTRYPOINT ["/run/run.sh"]
|
ENTRYPOINT ["/run/run.sh"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user