Fix container health check formatting

This commit is contained in:
Yannik Rödel 2022-06-12 20:48:06 +02:00
parent b9c523b3ca
commit bcb5b6d010

View file

@ -72,7 +72,10 @@
${pkgs.lighttpd}/bin/lighttpd -Df ${packages.lighttpdConfig}
'') ];
Healthcheck = {
Test = [ "${pkgs.curl}/bin/curl" "--fail" "localhost" ];
Test = [
"CMD"
"${pkgs.curl}/bin/curl" "--fail" "localhost"
];
Interval = 30000000000; # 30 seconds
Timeout = 10000000000; # 10 seconds
Retries = 3;