Add kerberos health check
This commit is contained in:
parent
4788580528
commit
1d156c3053
|
@ -66,6 +66,13 @@ let
|
|||
user = "${toString postgresCfg.uid}:${toString postgresCfg.uid}";
|
||||
env_file = [ postgresCfg.envFile ];
|
||||
restart = "always";
|
||||
healthcheck = {
|
||||
test = [ "CMD" "pg_isready" "-U" "lemmy" "-d" "lemmy" ];
|
||||
start_period = "20s";
|
||||
interval = "30s";
|
||||
retries = 5;
|
||||
timeout = "3s";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue