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
fix typos
Ray Berger5ee29c6072cb
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.phpindex b0073e1f04..8903b435f4 100644--- a/app/Console/Commands/Init.php+++ b/app/Console/Commands/Init.php@@ -142,83 +142,83 @@ class Init extends Commandtry {$applications = Application::withTrashed()->whereNotNull('deleted_at')->get();foreach ($applications as $application) {- echo "Deleting stucked application: {$application->name}\n";+ echo "Deleting stuck application: {$application->name}\n";$application->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked application: {$e->getMessage()}\n";+ echo "Error in cleaning stuck application: {$e->getMessage()}\n";}try {$postgresqls = StandalonePostgresql::withTrashed()->whereNotNull('deleted_at')->get();foreach ($postgresqls as $postgresql) {- echo "Deleting stucked postgresql: {$postgresql->name}\n";+ echo "Deleting stuck postgresql: {$postgresql->name}\n";$postgresql->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked postgresql: {$e->getMessage()}\n";+ echo "Error in cleaning stuck postgresql: {$e->getMessage()}\n";}try {$redis = StandaloneRedis::withTrashed()->whereNotNull('deleted_at')->get();foreach ($redis as $redis) {- echo "Deleting stucked redis: {$redis->name}\n";+ echo "Deleting stuck redis: {$redis->name}\n";$redis->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked redis: {$e->getMessage()}\n";+ echo "Error in cleaning stuck redis: {$e->getMessage()}\n";}try {$mongodbs = StandaloneMongodb::withTrashed()->whereNotNull('deleted_at')->get();foreach ($mongodbs as $mongodb) {- echo "Deleting stucked mongodb: {$mongodb->name}\n";+ echo "Deleting stuck mongodb: {$mongodb->name}\n";$mongodb->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked mongodb: {$e->getMessage()}\n";+ echo "Error in cleaning stuck mongodb: {$e->getMessage()}\n";}try {$mysqls = StandaloneMysql::withTrashed()->whereNotNull('deleted_at')->get();foreach ($mysqls as $mysql) {- echo "Deleting stucked mysql: {$mysql->name}\n";+ echo "Deleting stuck mysql: {$mysql->name}\n";$mysql->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked mysql: {$e->getMessage()}\n";+ echo "Error in cleaning stuck mysql: {$e->getMessage()}\n";}try {$mariadbs = StandaloneMariadb::withTrashed()->whereNotNull('deleted_at')->get();foreach ($mariadbs as $mariadb) {- echo "Deleting stucked mariadb: {$mariadb->name}\n";+ echo "Deleting stuck mariadb: {$mariadb->name}\n";$mariadb->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked mariadb: {$e->getMessage()}\n";+ echo "Error in cleaning stuck mariadb: {$e->getMessage()}\n";}try {$services = Service::withTrashed()->whereNotNull('deleted_at')->get();foreach ($services as $service) {- echo "Deleting stucked service: {$service->name}\n";+ echo "Deleting stuck service: {$service->name}\n";$service->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked service: {$e->getMessage()}\n";+ echo "Error in cleaning stuck service: {$e->getMessage()}\n";}try {$serviceApps = ServiceApplication::withTrashed()->whereNotNull('deleted_at')->get();foreach ($serviceApps as $serviceApp) {- echo "Deleting stucked serviceapp: {$serviceApp->name}\n";+ echo "Deleting stuck serviceapp: {$serviceApp->name}\n";$serviceApp->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked serviceapp: {$e->getMessage()}\n";+ echo "Error in cleaning stuck serviceapp: {$e->getMessage()}\n";}try {$serviceDbs = ServiceDatabase::withTrashed()->whereNotNull('deleted_at')->get();foreach ($serviceDbs as $serviceDb) {- echo "Deleting stucked serviceapp: {$serviceDb->name}\n";+ echo "Deleting stuck serviceapp: {$serviceDb->name}\n";$serviceDb->forceDelete();}} catch (\Throwable $e) {- echo "Error in cleaning stucked serviceapp: {$e->getMessage()}\n";+ echo "Error in cleaning stuck serviceapp: {$e->getMessage()}\n";}// Cleanup any resources that are not attached to any environment or destination or serverdiff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.phpindex f54a46e098..919167afe0 100644--- a/app/Livewire/Project/Application/General.php+++ b/app/Livewire/Project/Application/General.php@@ -201,7 +201,7 @@ class General extends Componentpublic function updatedApplicationFqdn(){$this->resetDefaultLabels(false);- $this->dispatch('success', 'Labels reseted to default!');+ $this->dispatch('success', 'Labels reset to default!');}public function submit($showToaster = true){diff --git a/app/Models/Server.php b/app/Models/Server.phpindex 291a9d479c..e8e0332e04 100644--- a/app/Models/Server.php+++ b/app/Models/Server.php@@ -358,9 +358,9 @@ class Server extends BaseModelpublic function validateOS(): bool | Stringable{$os_release = instant_remote_process(['cat /etc/os-release'], $this);- $datas = collect(explode("\n", $os_release));+ $data = collect(explode("\n", $os_release));$collectedData = collect([]);- foreach ($datas as $data) {+ foreach ($data as $data) {$item = Str::of($data)->trim();$collectedData->put($item->before('=')->value(), $item->after('=')->lower()->replace('"', '')->value());}diff --git a/app/Notifications/Channels/EmailChannel.php b/app/Notifications/Channels/EmailChannel.phpindex 99afcf5a77..da8ef812e3 100644--- a/app/Notifications/Channels/EmailChannel.php+++ b/app/Notifications/Channels/EmailChannel.php@@ -14,8 +14,8 @@ class EmailChannel{try {$this->bootConfigs($notifiable);- $recepients = $notifiable->getRecepients($notification);- if (count($recepients) === 0) {+ $recipients = $notifiable->getRecepients($notification);+ if (count($recipients) === 0) {throw new Exception('No email recipients found');}@@ -24,7 +24,7 @@ class EmailChannel[],[],fn (Message $message) => $message- ->to($recepients)+ ->to($recipients)->subject($mailMessage->subject)->html((string)$mailMessage->render()));@@ -35,8 +35,8 @@ class EmailChannel}ray($e->getMessage());$message = "EmailChannel error: {$e->getMessage()}. Failed to send email to:";- if (isset($recepients)) {- $message .= implode(', ', $recepients);+ if (isset($recipients)) {+ $message .= implode(', ', $recipients);}if (isset($mailMessage)) {$message .= " with subject: {$mailMessage->subject}";diff --git a/resources/views/components/pricing-plans.blade.php b/resources/views/components/pricing-plans.blade.phpindex 7837bc0f57..3b37f6ef10 100644--- a/resources/views/components/pricing-plans.blade.php+++ b/resources/views/components/pricing-plans.blade.php@@ -302,7 +302,7 @@</div><div class="mt-1 text-base leading-7 text-gray-300">Once you connected your server, Coolify will start managing it and do a- lot of adminstrative tasks for you. You can also write your own scripts to+ lot of administrative tasks for you. You can also write your own scripts toautomate your server<span class="text-warning">*</span>.</div></div>@@ -384,7 +384,7 @@<div class="text-2xl font-semibold text-white">Powerful API</div></div><div class="mt-1 text-base leading-7 text-gray-300">- Programatically deploy, query, and manage your servers & resources.+ Programmatically deploy, query, and manage your servers & resources.Integrate to your CI/CD pipelines, or build your own custom integrations. <spanclass="text-warning">*</span></div>diff --git a/resources/views/components/resources/breadcrumbs.blade.php b/resources/views/components/resources/breadcrumbs.blade.phpindex b7e24eb61c..8291fd9048 100644--- a/resources/views/components/resources/breadcrumbs.blade.php+++ b/resources/views/components/resources/breadcrumbs.blade.php@@ -1,7 +1,7 @@<nav class="flex pt-2 pb-10"><ol class="flex items-center"><li class="inline-flex items-center">- <a wire:nagivate class="text-xs truncate lg:text-sm"+ <a wire:navigate class="text-xs truncate lg:text-sm"href="{{ route('project.show', ['project_uuid' => $this->parameters['project_uuid']]) }}">{{ data_get($resource, 'environment.project.name', 'Undefined Name') }}</a></li>diff --git a/resources/views/emails/s3-connection-error.blade.php b/resources/views/emails/s3-connection-error.blade.phpindex 68faa06081..9df150549c 100644--- a/resources/views/emails/s3-connection-error.blade.php+++ b/resources/views/emails/s3-connection-error.blade.php@@ -1,5 +1,5 @@<x-emails.layout>- Connection could not be establised with one of your S3 Storage ({{ $name }}). Please fix it+ Connection could not be established with one of your S3 Storage ({{ $name }}). Please fix it[here]({{ $url }}).{{ $reason }}diff --git a/resources/views/livewire/notifications/email-settings.blade.php b/resources/views/livewire/notifications/email-settings.blade.phpindex a80aead2fd..999327f69d 100644--- a/resources/views/livewire/notifications/email-settings.blade.php+++ b/resources/views/livewire/notifications/email-settings.blade.php@@ -1,7 +1,7 @@<div><dialog id="sendTestEmail" class="modal"><form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit='submit'>- <x-forms.input placeholder="[email protected]" id="emails" label="Recepients" required />+ <x-forms.input placeholder="[email protected]" id="emails" label="Recipients" required /><x-forms.button onclick="sendTestEmail.close()" wire:click="sendTestNotification">Send Email</x-forms.button>diff --git a/resources/views/livewire/project/application/previews.blade.php b/resources/views/livewire/project/application/previews.blade.phpindex 9d33a2e2a5..573f670b71 100644--- a/resources/views/livewire/project/application/previews.blade.php+++ b/resources/views/livewire/project/application/previews.blade.php@@ -7,7 +7,7 @@</x-forms.button></div>@isset($rate_limit_remaining)- <div class="pt-1 ">Requests remaning till rate limited by Git: {{ $rate_limit_remaining }}</div>+ <div class="pt-1 ">Requests remaining till rate limited by Git: {{ $rate_limit_remaining }}</div>@endisset@if (count($pull_requests) > 0)<div wire:loading.remove wire:target='load_prs'>diff --git a/resources/views/livewire/project/new/docker-compose.blade.php b/resources/views/livewire/project/new/docker-compose.blade.phpindex 3a3c7deaef..57cc7466e2 100644--- a/resources/views/livewire/project/new/docker-compose.blade.php+++ b/resources/views/livewire/project/new/docker-compose.blade.php@@ -10,8 +10,8 @@helper="You can use these variables in your Docker Compose file and Coolify will generate default values or replace them with the values you set on the UI forms.<br><br>- - SERVICE_FQDN_*: FQDN - could be changable from the UI. (example: SERVICE_FQDN_GHOST)<br>- - SERVICE_URL_*: URL parsed from FQDN - could be changable from the UI. (example: SERVICE_URL_GHOST)<br>+ - SERVICE_FQDN_*: FQDN - could be changeable from the UI. (example: SERVICE_FQDN_GHOST)<br>+ - SERVICE_URL_*: URL parsed from FQDN - could be changeable from the UI. (example: SERVICE_URL_GHOST)<br>- SERVICE_BASE64_64_*: Generated 'base64' string with length of '64' (example: SERVICE_BASE64_64_GHOST, to generate 32 bit: SERVICE_BASE64_32_GHOST)<br>- SERVICE_USER_*: Generated user (example: SERVICE_USER_MYSQL)<br>- SERVICE_PASSWORD_*: Generated password (example: SERVICE_PASSWORD_MYSQL)<br>"diff --git a/resources/views/livewire/project/shared/destination.blade.php b/resources/views/livewire/project/shared/destination.blade.phpindex 50380b5ed3..f06e806e0d 100644--- a/resources/views/livewire/project/shared/destination.blade.php+++ b/resources/views/livewire/project/shared/destination.blade.php@@ -7,7 +7,7 @@server <span class="px-1 text-warning">{{ data_get($resource, 'destination.server.name') }}</span>in <span class="px-1 text-warning"> {{ data_get($resource, 'destination.network') }} </span> network.</a></div>- {{-- Additonal Destinations:+ {{-- Additional Destinations:{{$resource->additional_destinations}} --}}{{-- @if (count($servers) > 0)<div>diff --git a/resources/views/livewire/settings/email.blade.php b/resources/views/livewire/settings/email.blade.phpindex 22bef72195..78520bb396 100644--- a/resources/views/livewire/settings/email.blade.php+++ b/resources/views/livewire/settings/email.blade.php@@ -1,7 +1,7 @@<div><dialog id="sendTestEmail" class="modal"><form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit='submit'>- <x-forms.input placeholder="[email protected]" id="emails" label="Recepients" required />+ <x-forms.input placeholder="[email protected]" id="emails" label="Recipients" required /><x-forms.button onclick="sendTestEmail.close()" wire:click="sendTestNotification">Send Email</x-forms.button>diff --git a/scripts/install.sh b/scripts/install.shindex eed99dbbbd..f7ca9fa16a 100644--- a/scripts/install.sh+++ b/scripts/install.sh@@ -28,7 +28,7 @@ ubuntu | debian | raspbian | centos | fedora | rhel | ol | rocky | sles | opensu;;esac-# Ovewrite LATEST_VERSION if user pass a version number+# Overwrite LATEST_VERSION if user pass a version numberif [ "$1" != "" ]; thenLATEST_VERSION=$1LATEST_VERSION="${LATEST_VERSION,,}"diff --git a/templates/compose/appwrite.yaml b/templates/compose/appwrite.yamlindex 08ba703cf8..bcb813266d 100644--- a/templates/compose/appwrite.yaml+++ b/templates/compose/appwrite.yaml@@ -565,7 +565,7 @@ services:- /var/run/docker.sock:/var/run/docker.sock- appwrite-builds:/storage/builds:rw- appwrite-functions:/storage/functions:rw- # Host mount nessessary to share files between executor and runtimes.+ # Host mount necessary to share files between executor and runtimes.# It's not possible to share mount file between 2 containers without host mount (copying is too slow)- /tmp:/tmp:rwenvironment:diff --git a/templates/compose/embystat.yaml b/templates/compose/embystat.yamlindex c7dac00291..0fffd1bf72 100644--- a/templates/compose/embystat.yaml+++ b/templates/compose/embystat.yaml@@ -1,5 +1,5 @@# documentation: https://github.com/mregni/EmbyStat/wiki/docker-# slogan: EmyStat is an open-source, self-hosted web analytics tool, designed to provide insight into website traffic and user behavior, of your local Emby deployement, all within your control.+# slogan: EmyStat is an open-source, self-hosted web analytics tool, designed to provide insight into website traffic and user behavior, of your local Emby deployment, all within your control.# tags: media, server, movies, tv, musicservices:diff --git a/templates/service-templates.json b/templates/service-templates.jsonindex 15f53d05dc..f397cc3051 100644--- a/templates/service-templates.json+++ b/templates/service-templates.json@@ -121,7 +121,7 @@},"embystat": {"documentation": "https:\/\/github.com\/mregni\/EmbyStat\/wiki\/docker",- "slogan": "EmyStat is an open-source, self-hosted web analytics tool, designed to provide insight into website traffic and user behavior, of your local Emby deployement, all within your control.",+ "slogan": "EmyStat is an open-source, self-hosted web analytics tool, designed to provide insight into website traffic and user behavior, of your local Emby deployment, all within your control.","compose": "c2VydmljZXM6CiAgZW1ieXN0YXQ6CiAgICBpbWFnZTogJ2xzY3IuaW8vbGludXhzZXJ2ZXIvZW1ieXN0YXQ6bGF0ZXN0JwogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gU0VSVklDRV9GUUROX0VNQllTVEFUCiAgICAgIC0gUFVJRD0xMDAwCiAgICAgIC0gUEdJRD0xMDAwCiAgICAgIC0gVFo9RXVyb3BlL01hZHJpZAogICAgdm9sdW1lczoKICAgICAgLSAnZW1ieXN0YXQtY29uZmlnOi9jb25maWcnCiAgICBoZWFsdGhjaGVjazoKICAgICAgdGVzdDoKICAgICAgICAtIENNRAogICAgICAgIC0gY3VybAogICAgICAgIC0gJy1mJwogICAgICAgIC0gJ2h0dHA6Ly9sb2NhbGhvc3Q6NjU1NScKICAgICAgaW50ZXJ2YWw6IDJzCiAgICAgIHRpbWVvdXQ6IDEwcwogICAgICByZXRyaWVzOiAxNQo=","tags": ["media",