fix pg ready cmd
This commit is contained in:
@@ -142,8 +142,8 @@ in
|
|||||||
readiness_probe = {
|
readiness_probe = {
|
||||||
exec.command = "${package}/bin/pg_isready -h ${bind} -p ${builtins.toString port} -d postgres";
|
exec.command = "${package}/bin/pg_isready -h ${bind} -p ${builtins.toString port} -d postgres";
|
||||||
initial_delay_seconds = 2;
|
initial_delay_seconds = 2;
|
||||||
period_seconds = 2;
|
period_seconds = 10;
|
||||||
timeout_seconds = 2;
|
timeout_seconds = 4;
|
||||||
success_threshold = 1;
|
success_threshold = 1;
|
||||||
failure_threshold = 5;
|
failure_threshold = 5;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user