fix(dns): use Canadian Shield DNS defaults
This commit is contained in:
parent
c7354b0b55
commit
4bef17a9eb
3 changed files with 8 additions and 12 deletions
|
|
@ -13,7 +13,7 @@ public function up(): void
|
||||||
{
|
{
|
||||||
Schema::table('instance_settings', function (Blueprint $table) {
|
Schema::table('instance_settings', function (Blueprint $table) {
|
||||||
$table->boolean('is_dns_validation_enabled')->default(true);
|
$table->boolean('is_dns_validation_enabled')->default(true);
|
||||||
$table->string('custom_dns_servers')->nullable()->default('1.1.1.1');
|
$table->string('custom_dns_servers')->nullable()->default('149.112.121.10,149.112.122.10');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<div>
|
<div>
|
||||||
<x-slot:title>
|
<x-slot:title>
|
||||||
Advanced Settings | Coolify
|
Advanced Settings | MapleDeploy
|
||||||
</x-slot>
|
</x-slot>
|
||||||
|
|
||||||
<x-settings.layout>
|
<x-settings.layout>
|
||||||
|
|
@ -36,8 +36,8 @@
|
||||||
['value' => false, 'label' => 'Disabled'],
|
['value' => false, 'label' => 'Disabled'],
|
||||||
]" />
|
]" />
|
||||||
<x-forms.input id="custom_dns_servers" label="Custom DNS servers"
|
<x-forms.input id="custom_dns_servers" label="Custom DNS servers"
|
||||||
helper="Comma-separated resolvers. Leave empty to use system defaults."
|
helper="Comma-separated resolvers (e.g., 149.112.121.10,149.112.122.10). Leave empty to use system defaults." {{-- MapleDeploy branding: Canadian Shield examples --}}
|
||||||
placeholder="1.1.1.1, 8.8.8.8" />
|
placeholder="149.112.121.10,149.112.122.10" />
|
||||||
</div>
|
</div>
|
||||||
</x-application.settings-section>
|
</x-application.settings-section>
|
||||||
|
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
<x-application.settings-section id="api-section" title="API and MCP">
|
<x-application.settings-section id="api-section" title="API and MCP">
|
||||||
<div class="grid gap-4 lg:grid-cols-2">
|
<div class="grid gap-4 lg:grid-cols-2">
|
||||||
<x-forms.listbox id="is_api_enabled" label="API access"
|
<x-forms.listbox id="is_api_enabled" label="API access"
|
||||||
helper="Allow authenticated requests to the Coolify REST API." onChange="instantSave"
|
helper="Allow authenticated requests to the REST API." onChange="instantSave"
|
||||||
:options="[
|
:options="[
|
||||||
['value' => true, 'label' => 'Enabled'],
|
['value' => true, 'label' => 'Enabled'],
|
||||||
['value' => false, 'label' => 'Disabled'],
|
['value' => false, 'label' => 'Disabled'],
|
||||||
|
|
@ -127,11 +127,7 @@
|
||||||
['value' => false, 'label' => 'Enabled'],
|
['value' => false, 'label' => 'Enabled'],
|
||||||
['value' => true, 'label' => 'Disabled'],
|
['value' => true, 'label' => 'Disabled'],
|
||||||
]" />
|
]" />
|
||||||
<x-forms.listbox id="is_sponsorship_popup_enabled" label="Sponsorship reminders"
|
{{-- MapleDeploy branding: sponsorship popup listbox removed (popup itself already removed) --}}
|
||||||
helper="Show the monthly project sponsorship reminder." onChange="instantSave" :options="[
|
|
||||||
['value' => true, 'label' => 'Enabled'],
|
|
||||||
['value' => false, 'label' => 'Disabled'],
|
|
||||||
]" />
|
|
||||||
</div>
|
</div>
|
||||||
</x-application.settings-section>
|
</x-application.settings-section>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -183,8 +183,8 @@ services:
|
||||||
network:
|
network:
|
||||||
interface: 172.28.0.1
|
interface: 172.28.0.1
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 149.112.121.10
|
||||||
- 1.0.0.1
|
- 149.112.122.10
|
||||||
name: pterodactyl_nw
|
name: pterodactyl_nw
|
||||||
ispn: false
|
ispn: false
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue