mirror of
https://github.com/Platonic-Systems/process-compose-flake.git
synced 2024-09-11 14:07:00 +03:00
example: add readiness_probe for sqlite-web
This commit is contained in:
parent
1fbcf33a9e
commit
3964517bb9
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user