An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
prevent restarting container check
Andras Bacsai3d2a34737b4f
diff --git a/src/lib/haproxy/index.ts b/src/lib/haproxy/index.tsindex deedd0bf26..5d17fb573c 100644--- a/src/lib/haproxy/index.ts+++ b/src/lib/haproxy/index.ts@@ -178,7 +178,7 @@ export async function checkContainer(engine, container) {const parsedStdout = JSON.parse(stdout);const status = parsedStdout.Status;- const isRunning = parsedStdout.Running;+ const isRunning = parsedStdout.Running && parsedStdout.Restart;if (status === 'exited' || status === 'created') {await asyncExecShell(`DOCKER_HOST="${host}" docker rm ${container}`);