fix(dns): use Canadian Shield DNS defaults
This commit is contained in:
parent
2899d3a6bc
commit
58adf61184
3 changed files with 9 additions and 20 deletions
|
|
@ -13,7 +13,7 @@ public function up(): void
|
|||
{
|
||||
Schema::table('instance_settings', function (Blueprint $table) {
|
||||
$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>
|
||||
<x-slot:title>
|
||||
Advanced Settings | Coolify
|
||||
Advanced Settings | MapleDeploy
|
||||
</x-slot>
|
||||
|
||||
<x-settings.layout>
|
||||
|
|
@ -36,14 +36,14 @@
|
|||
['value' => false, 'label' => 'Disabled'],
|
||||
]" />
|
||||
<x-forms.input id="custom_dns_servers" label="Custom DNS servers"
|
||||
helper="Comma-separated resolvers. Leave empty to use system defaults."
|
||||
placeholder="1.1.1.1, 8.8.8.8" />
|
||||
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="149.112.121.10,149.112.122.10" />
|
||||
</div>
|
||||
</x-application.settings-section>
|
||||
|
||||
@if (isCloud())
|
||||
<x-application.settings-section id="domain-connect-section" title="Domain Connect"
|
||||
helper="Optional RSA private key used to sign Cloudflare Domain Connect apply URLs on Coolify Cloud. Leave blank to keep the existing key.">
|
||||
helper="Optional RSA private key used to sign Cloudflare Domain Connect apply URLs. Leave blank to keep the existing key.">
|
||||
<div class="grid gap-4">
|
||||
<x-forms.input id="domain_connect_private_key" type="password" allowToPeak
|
||||
label="Domain Connect private key (PEM)"
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
<x-application.settings-section id="api-section" title="API and MCP">
|
||||
<div class="grid gap-4 lg:grid-cols-2">
|
||||
<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="[
|
||||
['value' => true, 'label' => 'Enabled'],
|
||||
['value' => false, 'label' => 'Disabled'],
|
||||
|
|
@ -127,18 +127,7 @@
|
|||
['value' => false, 'label' => 'Enabled'],
|
||||
['value' => true, 'label' => 'Disabled'],
|
||||
]" />
|
||||
<div class="flex flex-col gap-2">
|
||||
<x-forms.listbox id="is_sponsorship_popup_enabled" label="Sponsorship reminders"
|
||||
helper="Show the monthly project sponsorship reminder." onChange="instantSave" :options="[
|
||||
['value' => true, 'label' => 'Enabled'],
|
||||
['value' => false, 'label' => 'Disabled'],
|
||||
]" />
|
||||
@if (isDev())
|
||||
<x-forms.button type="button" @click="$dispatch('show-sponsorship-reminder')">
|
||||
Show sponsorship reminder
|
||||
</x-forms.button>
|
||||
@endif
|
||||
</div>
|
||||
{{-- MapleDeploy branding: sponsorship popup listbox removed (popup itself already removed) --}}
|
||||
</div>
|
||||
</x-application.settings-section>
|
||||
|
||||
|
|
|
|||
|
|
@ -183,8 +183,8 @@ services:
|
|||
network:
|
||||
interface: 172.28.0.1
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 1.0.0.1
|
||||
- 149.112.121.10
|
||||
- 149.112.122.10
|
||||
name: pterodactyl_nw
|
||||
ispn: false
|
||||
driver: bridge
|
||||
|
|
|
|||
Loading…
Reference in a new issue