Skip to content

Commit 1fb8d1e

Browse files
committed
revert: pull policy
1 parent 804c70b commit 1fb8d1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Actions/Service/StartService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function handle(Service $service)
2020
$commands[] = "docker network inspect $service->uuid >/dev/null 2>&1 || docker network create --attachable $service->uuid";
2121
$commands[] = 'echo Starting service.';
2222
$commands[] = "echo 'Pulling images.'";
23-
$commands[] = 'docker compose pull --policy always';
23+
$commands[] = 'docker compose pull';
2424
$commands[] = "echo 'Starting containers.'";
2525
$commands[] = 'docker compose up -d --remove-orphans --force-recreate --build';
2626
$commands[] = "docker network connect $service->uuid coolify-proxy >/dev/null 2>&1 || true";

app/Actions/Shared/PullImage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function handle(Service $resource)
1515

1616
$commands[] = 'cd '.$resource->workdir();
1717
$commands[] = "echo 'Saved configuration files to {$resource->workdir()}.'";
18-
$commands[] = 'docker compose pull --policy always';
18+
$commands[] = 'docker compose pull';
1919

2020
$server = data_get($resource, 'server');
2121

0 commit comments

Comments
 (0)