fix pg ready cmd
This commit is contained in:
@@ -140,7 +140,7 @@ in
|
|||||||
command = "${script}/bin/run-postgres";
|
command = "${script}/bin/run-postgres";
|
||||||
shutdown.signal = 2;
|
shutdown.signal = 2;
|
||||||
readiness_probe = {
|
readiness_probe = {
|
||||||
exec.command = "${package}/bin/pg_isready -h $RUNTIME_PATH/${name} -p ${builtins.toString port}";
|
exec.command = "${package}/bin/pg_isready -h $RUNTIME_PATH/${name} -p ${builtins.toString port} -d postgres";
|
||||||
initial_delay_seconds = 2;
|
initial_delay_seconds = 2;
|
||||||
period_seconds = 2;
|
period_seconds = 2;
|
||||||
timeout_seconds = 2;
|
timeout_seconds = 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user