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
Update version numbers and remove unused files
Andras Bacsai225bf0673637
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.phpindex b0073e1f04..4def34ac60 100644--- a/app/Console/Commands/Init.php+++ b/app/Console/Commands/Init.php@@ -99,7 +99,7 @@ class Init extends Commandreturn;}try {- Http::get("https://get.coollabs.io/coolify/v4/alive?appId=$id&version=$version");+ Http::get("https://undead.coollabs.io/coolify/v4/alive?appId=$id&version=$version");echo "I am alive!\n";} catch (\Throwable $e) {echo "Error in alive: {$e->getMessage()}\n";diff --git a/config/sentry.php b/config/sentry.phpindex a7bbeb2d07..c771962da3 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -7,7 +7,7 @@ return [// The release version of your application// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))- 'release' => '4.0.0-beta.184',+ 'release' => '4.0.0-beta.185',// When left empty or `null` the Laravel environment will be used'environment' => config('app.env'),diff --git a/config/version.php b/config/version.phpindex edf3c27d00..836a1000b3 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.184';+return '4.0.0-beta.185';diff --git a/resources/views/project/application/deployment.blade.php b/resources/views/project/application/deployment.blade.phpdeleted file mode 100644index 0ed0d72b55..0000000000--- a/resources/views/project/application/deployment.blade.php+++ /dev/null@@ -1,5 +0,0 @@-<x-layout>- <h1 class="py-0">Deployment</h1>- <livewire:project.application.heading :application="$application" />- <livewire:project.application.deployment-logs :application_deployment_queue="$application_deployment_queue" />-</x-layout>diff --git a/resources/views/project/application/deployments.blade.php b/resources/views/project/application/deployments.blade.phpdeleted file mode 100644index 46d7316538..0000000000--- a/resources/views/project/application/deployments.blade.php+++ /dev/null@@ -1,5 +0,0 @@-<x-layout>- <h1>Deployments</h1>- <livewire:project.application.heading :application="$application" />- <livewire:project.application.deployments :application="$application" :deployments="$deployments" :deployments_count="$deployments_count" />-</x-layout>diff --git a/resources/views/project/database/backups/all.blade.php b/resources/views/project/database/backups/all.blade.phpdeleted file mode 100644index 80a2fd816e..0000000000--- a/resources/views/project/database/backups/all.blade.php+++ /dev/null@@ -1,22 +0,0 @@-<x-layout>- <h1>Backups</h1>- <livewire:project.database.heading :database="$database" />- <x-modal modalId="startDatabase">- <x-slot:modalBody>- <livewire:activity-monitor header="Database Startup Logs" />- </x-slot:modalBody>- <x-slot:modalSubmit>- <x-forms.button onclick="startDatabase.close()" type="submit">- Close- </x-forms.button>- </x-slot:modalSubmit>- </x-modal>- <livewire:project.database.create-scheduled-backup :database="$database" :s3s="$s3s" />- <div class="pt-6">- <div class="flex gap-2 ">- <h2 class="pb-4">Scheduled Backups</h2>- <x-forms.button onclick="createScheduledBackup.showModal()">+ Add</x-forms.button>- </div>- <livewire:project.database.scheduled-backups :database="$database" />- </div>-</x-layout>diff --git a/resources/views/project/database/backups/executions.blade.php b/resources/views/project/database/backups/executions.blade.phpdeleted file mode 100644index 8c4625dcde..0000000000--- a/resources/views/project/database/backups/executions.blade.php+++ /dev/null@@ -1,19 +0,0 @@-<x-layout>- <h1>Backups</h1>- <livewire:project.database.heading :database="$database" />- <x-modal modalId="startDatabase">- <x-slot:modalBody>- <livewire:activity-monitor header="Database Startup Logs" />- </x-slot:modalBody>- <x-slot:modalSubmit>- <x-forms.button onclick="startDatabase.close()" type="submit">- Close- </x-forms.button>- </x-slot:modalSubmit>- </x-modal>- <div class="pt-6">- <livewire:project.database.backup-edit :backup="$backup" :s3s="$s3s" :status="data_get($database, 'status')" />- <h3 class="py-4">Executions</h3>- <livewire:project.database.backup-executions :backup="$backup" :executions="$executions" />- </div>-</x-layout>diff --git a/resources/views/project/database/configuration.blade.php b/resources/views/project/database/configuration.blade.phpdeleted file mode 100644index 49fcf5d1c3..0000000000--- a/resources/views/project/database/configuration.blade.php+++ /dev/null@@ -1,82 +0,0 @@-<x-layout>- <h1>Configuration</h1>- <livewire:project.database.heading :database="$database" />- <x-modal modalId="startDatabase">- <x-slot:modalBody>- <livewire:activity-monitor header="Database Startup Logs" />- </x-slot:modalBody>- <x-slot:modalSubmit>- <x-forms.button onclick="startDatabase.close()" type="submit">- Close- </x-forms.button>- </x-slot:modalSubmit>- </x-modal>- <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex h-full pt-6">- <div class="flex flex-col gap-4 min-w-fit">- <a :class="activeTab === 'general' && 'text-white'"- @click.prevent="activeTab = 'general';- window.location.hash = 'general'"- href="#">General</a>- <a :class="activeTab === 'environment-variables' && 'text-white'"- @click.prevent="activeTab = 'environment-variables'; window.location.hash = 'environment-variables'"- href="#">Environment- Variables</a>- <a :class="activeTab === 'server' && 'text-white'"- @click.prevent="activeTab = 'server';- window.location.hash = 'server'"- href="#">Server- </a>- <a :class="activeTab === 'storages' && 'text-white'"- @click.prevent="activeTab = 'storages';- window.location.hash = 'storages'"- href="#">Storages- </a>- <a :class="activeTab === 'webhooks' && 'text-white'"- @click.prevent="activeTab = 'webhooks'; window.location.hash = 'webhooks'" href="#">Webhooks- </a>- <a :class="activeTab === 'resource-limits' && 'text-white'"- @click.prevent="activeTab = 'resource-limits';- window.location.hash = 'resource-limits'"- href="#">Resource Limits- </a>- <a :class="activeTab === 'danger' && 'text-white'"- @click.prevent="activeTab = 'danger';- window.location.hash = 'danger'"- href="#">Danger Zone- </a>- </div>- <div class="w-full pl-8">- <div x-cloak x-show="activeTab === 'general'" class="h-full">- @if ($database->type() === 'standalone-postgresql')- <livewire:project.database.postgresql.general :database="$database" />- @elseif ($database->type() === 'standalone-redis')- <livewire:project.database.redis.general :database="$database" />- @elseif ($database->type() === 'standalone-mongodb')- <livewire:project.database.mongodb.general :database="$database" />- @elseif ($database->type() === 'standalone-mysql')- <livewire:project.database.mysql.general :database="$database" />- @elseif ($database->type() === 'standalone-mariadb')- <livewire:project.database.mariadb.general :database="$database" />- @endif- </div>- <div x-cloak x-show="activeTab === 'environment-variables'">- <livewire:project.shared.environment-variable.all :resource="$database" />- </div>- <div x-cloak x-show="activeTab === 'server'">- <livewire:project.shared.destination :resource="$database" />- </div>- <div x-cloak x-show="activeTab === 'storages'">- <livewire:project.service.storage :resource="$database" />- </div>- <div x-cloak x-show="activeTab === 'webhooks'">- <livewire:project.shared.webhooks :resource="$database" />- </div>- <div x-cloak x-show="activeTab === 'resource-limits'">- <livewire:project.shared.resource-limits :resource="$database" />- </div>- <div x-cloak x-show="activeTab === 'danger'">- <livewire:project.shared.danger :resource="$database" />- </div>- </div>- </div>-</x-layout>diff --git a/resources/views/project/new.blade.php b/resources/views/project/new.blade.phpdeleted file mode 100644index 5b6ee1029f..0000000000--- a/resources/views/project/new.blade.php+++ /dev/null@@ -1,17 +0,0 @@-<x-layout>- @if ($type === 'public')- <livewire:project.new.public-git-repository :type="$type" />- @elseif ($type === 'private-gh-app')- <livewire:project.new.github-private-repository :type="$type" />- @elseif ($type === 'private-deploy-key')- <livewire:project.new.github-private-repository-deploy-key :type="$type" />- @elseif ($type === 'dockerfile')- <livewire:project.new.simple-dockerfile :type="$type" />- @elseif ($type === 'docker-compose-empty')- <livewire:project.new.docker-compose :type="$type" />- @elseif ($type === 'docker-image')- <livewire:project.new.docker-image :type="$type" />- @else- <livewire:project.new.select />- @endif-</x-layout>diff --git a/resources/views/project/resources.blade.php b/resources/views/project/resources.blade.phpdeleted file mode 100644index 2b5e6fcd12..0000000000--- a/resources/views/project/resources.blade.php+++ /dev/null@@ -1,97 +0,0 @@-<x-layout>- <div class="flex flex-col">- <div class="flex items-center gap-2">- <h1>Resources</h1>- @if ($environment->isEmpty())- <a class="font-normal text-white normal-case border-none rounded hover:no-underline btn btn-primary btn-sm no-animation"- href="{{ route('project.clone-me', ['project_uuid' => data_get($project, 'uuid'), 'environment_name' => request()->route('environment_name')]) }}">- Clone- </a>- <livewire:project.delete-environment :environment_id="$environment->id" />- @else- <a href="{{ route('project.resource.create', ['project_uuid' => request()->route('project_uuid'), 'environment_name' => request()->route('environment_name')]) }} "- class="font-normal text-white normal-case border-none rounded hover:no-underline btn btn-primary btn-sm no-animation">+- New</a>- <a class="font-normal text-white normal-case border-none rounded hover:no-underline btn btn-primary btn-sm no-animation"- href="{{ route('project.clone-me', ['project_uuid' => data_get($project, 'uuid'), 'environment_name' => request()->route('environment_name')]) }}">- Clone- </a>- @endif- </div>- <nav class="flex pt-2 pb-10">- <ol class="flex items-center">- <li class="inline-flex items-center">- <a class="text-xs truncate lg:text-sm"- href="{{ route('project.show', ['project_uuid' => request()->route('project_uuid')]) }}">- {{ $project->name }}</a>- </li>- <li>- <div class="flex items-center">- <svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"- viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">- <path fill-rule="evenodd"- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"- clip-rule="evenodd"></path>- </svg>- <a class="text-xs truncate lg:text-sm"- href="{{ route('project.resource.index', ['environment_name' => request()->route('environment_name'), 'project_uuid' => request()->route('project_uuid')]) }}">{{ request()->route('environment_name') }}</a>- </div>- </li>- </ol>- </nav>- </div>- @if ($environment->isEmpty())- <a href="{{ route('project.resource.create', ['project_uuid' => request()->route('project_uuid'), 'environment_name' => request()->route('environment_name')]) }} "- class="items-center justify-center box">+ Add New Resource</a>- @endif- <div class="grid gap-2 lg:grid-cols-2">- @foreach ($environment->applications->sortBy('name') as $application)- <a class="relative box group"- href="{{ route('project.application.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">- <div class="flex flex-col mx-6">- <div class="font-bold text-white">{{ $application->name }}</div>- <div class="description">{{ $application->description }}</div>- </div>- @if (Str::of(data_get($application, 'status'))->startsWith('running'))- <div class="absolute bg-success -top-1 -left-1 badge badge-xs"></div>- @elseif (Str::of(data_get($application, 'status'))->startsWith('exited'))- <div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>- @elseif (Str::of(data_get($application, 'status'))->startsWith('restarting'))- <div class="absolute bg-warning -top-1 -left-1 badge badge-xs"></div>- @endif- </a>- @endforeach- @foreach ($environment->databases()->sortBy('name') as $database)- <a class="relative box group"- href="{{ route('project.database.configuration', [$project->uuid, $environment->name, $database->uuid]) }}">- <div class="flex flex-col mx-6">- <div class="font-bold text-white">{{ $database->name }}</div>- <div class="description">{{ $database->description }}</div>- </div>- @if (Str::of(data_get($database, 'status'))->startsWith('running'))- <div class="absolute bg-success -top-1 -left-1 badge badge-xs"></div>- @elseif (Str::of(data_get($database, 'status'))->startsWith('exited'))- <div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>- @elseif (Str::of(data_get($database, 'status'))->startsWith('restaring'))- <div class="absolute bg-warning -top-1 -left-1 badge badge-xs"></div>- @endif- </a>- @endforeach- @foreach ($environment->services->sortBy('name') as $service)- <a class="relative box group"- href="{{ route('project.service.configuration', [$project->uuid, $environment->name, $service->uuid]) }}">- <div class="flex flex-col mx-6">- <div class="font-bold text-white">{{ $service->name }}</div>- <div class="description">{{ $service->description }}</div>- </div>- @if (Str::of(serviceStatus($service))->startsWith('running'))- <div class="absolute bg-success -top-1 -left-1 badge badge-xs"></div>- @elseif (Str::of(serviceStatus($service))->startsWith('degraded'))- <div class="absolute bg-warning -top-1 -left-1 badge badge-xs"></div>- @elseif (Str::of(serviceStatus($service))->startsWith('exited'))- <div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>- @endif- </a>- @endforeach- </div>-</x-layout>diff --git a/resources/views/settings/configuration.blade.php b/resources/views/settings/configuration.blade.phpdeleted file mode 100644index bb17d4a469..0000000000--- a/resources/views/settings/configuration.blade.php+++ /dev/null@@ -1,25 +0,0 @@-<x-layout>- <x-settings.navbar />- <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex h-full pt-1">- <div class="flex flex-col gap-4 min-w-fit">- <a :class="activeTab === 'general' && 'text-white'"- @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>- <a :class="activeTab === 'backup' && 'text-white'"- @click.prevent="activeTab = 'backup'; window.location.hash = 'backup'" href="#">Instance Backup</a>- <a :class="activeTab === 'smtp' && 'text-white'"- @click.prevent="activeTab = 'smtp'; window.location.hash = 'smtp'" href="#">Transactional- Email</a>- </div>- <div class="w-full pl-8">- <div x-cloak x-show="activeTab === 'general'" class="h-full">- <livewire:settings.configuration :settings="$settings" />- </div>- <div x-cloak x-show="activeTab === 'backup'" class="h-full">- <livewire:settings.backup :settings="$settings" :database="$database" :s3s="$s3s" />- </div>- <div x-cloak x-show="activeTab === 'smtp'" class="h-full">- <livewire:settings.email :settings="$settings" />- </div>- </div>- </div>-</x-layout>diff --git a/resources/views/settings/license.blade.php b/resources/views/settings/license.blade.phpdeleted file mode 100644index 300961f052..0000000000--- a/resources/views/settings/license.blade.php+++ /dev/null@@ -1,5 +0,0 @@-<x-layout-subscription>- <x-settings.navbar />- <h2>Resale License</h2>- <livewire:check-license />-</x-layout-subscription>diff --git a/versions.json b/versions.jsonindex d96864b767..7780166904 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.184"+ "version": "4.0.0-beta.185"}}}