mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-01 20:59:24 +00:00
Compare commits
6 Commits
v4.0.0-bet
...
v4.0.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8b974820b | ||
|
|
527373e297 | ||
|
|
a84be8dc33 | ||
|
|
bd856f7f67 | ||
|
|
8ff216e5fb | ||
|
|
5255311a2e |
@@ -318,8 +318,8 @@ class Service extends BaseModel
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
} else if ($type->value() === 'volume') {
|
} else if ($type->value() === 'volume') {
|
||||||
$slug = Str::slug($source, '-');
|
$slugWithoutUuid = Str::slug($source, '-');
|
||||||
$name = "{$savedService->service->uuid}_{$slug}";
|
$name = "{$savedService->service->uuid}_{$slugWithoutUuid}";
|
||||||
if (is_string($volume)) {
|
if (is_string($volume)) {
|
||||||
$source = Str::of($volume)->before(':');
|
$source = Str::of($volume)->before(':');
|
||||||
$target = Str::of($volume)->after(':')->beforeLast(':');
|
$target = Str::of($volume)->after(':')->beforeLast(':');
|
||||||
@@ -328,7 +328,9 @@ class Service extends BaseModel
|
|||||||
} else if (is_array($volume)) {
|
} else if (is_array($volume)) {
|
||||||
data_set($volume, 'source', $name);
|
data_set($volume, 'source', $name);
|
||||||
}
|
}
|
||||||
$topLevelVolumes->put($name, null);
|
$topLevelVolumes->put($name, [
|
||||||
|
'name' => $name,
|
||||||
|
]);
|
||||||
LocalPersistentVolume::updateOrCreate(
|
LocalPersistentVolume::updateOrCreate(
|
||||||
[
|
[
|
||||||
'mount_path' => $target,
|
'mount_path' => $target,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ return [
|
|||||||
|
|
||||||
// The release version of your application
|
// The release version of your application
|
||||||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
||||||
'release' => '4.0.0-beta.60',
|
'release' => '4.0.0-beta.62',
|
||||||
// When left empty or `null` the Laravel environment will be used
|
// When left empty or `null` the Laravel environment will be used
|
||||||
'environment' => config('app.env'),
|
'environment' => config('app.env'),
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return '4.0.0-beta.60';
|
return '4.0.0-beta.62';
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"version": "3.12.36"
|
"version": "3.12.36"
|
||||||
},
|
},
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.60"
|
"version": "4.0.0-beta.62"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user