fix: service dockercompose predefined networks

version++
fix: modal of changing service stack
fix: appwrite template
This commit is contained in:
Andras Bacsai
2023-11-06 15:22:11 +01:00
parent 534372c29c
commit eab7fd44d4
9 changed files with 54 additions and 65 deletions

View File

@@ -6,6 +6,7 @@ use App\Models\Server;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
use Spatie\Url\Url;
use Visus\Cuid2\Cuid2;
function getCurrentApplicationContainerStatus(Server $server, int $id, ?int $pullRequestId = null): Collection
{
@@ -141,6 +142,7 @@ function fqdnLabelsForTraefik(string $uuid, Collection $domains, bool $is_force_
$labels = collect([]);
$labels->push('traefik.enable=true');
foreach ($domains as $loop => $domain) {
$uuid = new Cuid2(7);
$url = Url::fromString($domain);
$host = $url->getHost();
$path = $url->getPath();