Skip to content

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.

baseurl for docs

Andras Bacsai4c1067cf3642
diff --git a/app/Models/Service.php b/app/Models/Service.php
index 51fc66b11c..cc60a8cadd 100644
--- a/app/Models/Service.php
+++ b/app/Models/Service.php
@@ -53,7 +53,7 @@ class Service extends BaseModel
{
$services = Cache::get('services', []);
$service = data_get($services, Str::of($this->name)->beforeLast('-')->value, []);
- return data_get($service, 'documentation', 'https://coolify.io/docs');
+ return data_get($service, 'documentation', config('constants.docs.base_url'));
}
public function applications()
{
diff --git a/config/constants.php b/config/constants.php
index b93ac184ec..d001bc2b32 100644
--- a/config/constants.php
+++ b/config/constants.php
@@ -1,6 +1,10 @@
<?php
return [
- 'ssh' =>[
+ 'docs' => [
+ 'base_url' => 'https://coolify.io/docs',
+ 'contact' => 'https://coolify.io/docs/contact',
+ ],
+ 'ssh' => [
'connection_timeout' => 10,
'server_interval' => 20,
'command_timeout' => 7200,
@@ -18,7 +22,7 @@ return [
'official' => 'https://cdn.coollabs.io/coolify/service-templates.json',
],
'limits' => [
- 'trial_period'=> 7,
+ 'trial_period' => 7,
'server' => [
'zero' => 0,
'self-hosted' => 999999999999,
diff --git a/resources/views/auth/forgot-password.blade.php b/resources/views/auth/forgot-password.blade.php
index 04a9a56952..d52a5b4e30 100644
--- a/resources/views/auth/forgot-password.blade.php
+++ b/resources/views/auth/forgot-password.blade.php
@@ -15,14 +15,13 @@
@if (is_transactional_emails_active())
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@csrf
- <x-forms.input required type="email" name="email"
- label="{{ __('input.email') }}" autofocus />
+ <x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
</form>
@else
<div>Transactional emails are not active on this instance.</div>
<div>See how to set it in our <a class="text-white" target="_blank"
- href="https://docs.coollabs.io/coolify">docs</a>, or how to
+ href="{{ config('constants.docs.base_url') }}">docs</a>, or how to
manually reset password.
</div>
@endif