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
fix: update docker compose pull command with --policy always
Andras Bacsaib1c0f105ab82
diff --git a/app/Actions/Service/StartService.php b/app/Actions/Service/StartService.phpindex 4b6a25dcc6..b33a52748b 100644--- a/app/Actions/Service/StartService.php+++ b/app/Actions/Service/StartService.php@@ -20,7 +20,7 @@ class StartService$commands[] = "docker network inspect $service->uuid >/dev/null 2>&1 || docker network create --attachable $service->uuid";$commands[] = 'echo Starting service.';$commands[] = "echo 'Pulling images.'";- $commands[] = 'docker compose pull';+ $commands[] = 'docker compose pull --policy always';$commands[] = "echo 'Starting containers.'";$commands[] = 'docker compose up -d --remove-orphans --force-recreate --build';$commands[] = "docker network connect $service->uuid coolify-proxy >/dev/null 2>&1 || true";diff --git a/app/Actions/Shared/PullImage.php b/app/Actions/Shared/PullImage.phpindex 4bd1cf4530..d8d81d23bb 100644--- a/app/Actions/Shared/PullImage.php+++ b/app/Actions/Shared/PullImage.php@@ -15,7 +15,7 @@ class PullImage$commands[] = 'cd '.$resource->workdir();$commands[] = "echo 'Saved configuration files to {$resource->workdir()}.'";- $commands[] = 'docker compose pull';+ $commands[] = 'docker compose pull --policy always';$server = data_get($resource, 'server');