example: add readiness_probe for sqlite-web

This commit is contained in:
Sridhar Ratnakumar 2023-06-13 18:01:11 -04:00
parent 1fbcf33a9e
commit 3964517bb9

View File

@ -46,6 +46,12 @@
'';
# The 'depends_on' will have this process wait until the above one is completed.
depends_on."sqlite-init".condition = "process_completed_successfully";
readiness_probe.http_get = {
scheme = "http";
host = "localhost";
path = "/";
port = 8213;
};
};
};
};