mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
baseurl for docs
This commit is contained in:
@@ -53,7 +53,7 @@ class Service extends BaseModel
|
|||||||
{
|
{
|
||||||
$services = Cache::get('services', []);
|
$services = Cache::get('services', []);
|
||||||
$service = data_get($services, Str::of($this->name)->beforeLast('-')->value, []);
|
$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()
|
public function applications()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
return [
|
return [
|
||||||
'ssh' =>[
|
'docs' => [
|
||||||
|
'base_url' => 'https://coolify.io/docs',
|
||||||
|
'contact' => 'https://coolify.io/docs/contact',
|
||||||
|
],
|
||||||
|
'ssh' => [
|
||||||
'connection_timeout' => 10,
|
'connection_timeout' => 10,
|
||||||
'server_interval' => 20,
|
'server_interval' => 20,
|
||||||
'command_timeout' => 7200,
|
'command_timeout' => 7200,
|
||||||
@@ -18,7 +22,7 @@ return [
|
|||||||
'official' => 'https://cdn.coollabs.io/coolify/service-templates.json',
|
'official' => 'https://cdn.coollabs.io/coolify/service-templates.json',
|
||||||
],
|
],
|
||||||
'limits' => [
|
'limits' => [
|
||||||
'trial_period'=> 7,
|
'trial_period' => 7,
|
||||||
'server' => [
|
'server' => [
|
||||||
'zero' => 0,
|
'zero' => 0,
|
||||||
'self-hosted' => 999999999999,
|
'self-hosted' => 999999999999,
|
||||||
|
|||||||
@@ -15,14 +15,13 @@
|
|||||||
@if (is_transactional_emails_active())
|
@if (is_transactional_emails_active())
|
||||||
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
|
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
|
||||||
@csrf
|
@csrf
|
||||||
<x-forms.input required type="email" name="email"
|
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
|
||||||
label="{{ __('input.email') }}" autofocus />
|
|
||||||
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
|
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
|
||||||
</form>
|
</form>
|
||||||
@else
|
@else
|
||||||
<div>Transactional emails are not active on this instance.</div>
|
<div>Transactional emails are not active on this instance.</div>
|
||||||
<div>See how to set it in our <a class="text-white" target="_blank"
|
<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.
|
manually reset password.
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
Reference in New Issue
Block a user