This commit is contained in:
Andras Bacsai committed 2023-06-16 11:01:27 +02:00
1 parent 2b8467e6a1
commit 2c3ddfd363
14 files changed
+35 -18

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ class UpdateCoolify
try {
ray('Running InstanceAutoUpdateJob');
$localhost_name = 'localhost';
if (config('app.env') === 'local') {
if (isDev()) {
$localhost_name = 'testing-local-docker-container';
}
$this->server = Server::where('name', $localhost_name)->firstOrFail();
@@ -48,7 +48,7 @@ class UpdateCoolify
}
private function update()
{
if (config('app.env') === 'local') {
if (isDev()) {
ray('Running update on local docker container');
remote_process([
"sleep 10"