2025-08-26 08:27:31 +00:00
|
|
|
@can('create', App\Models\S3Storage::class)
|
|
|
|
|
<div class="w-full">
|
|
|
|
|
<div class="mb-4">For more details, please visit the <a class="underline dark:text-warning"
|
|
|
|
|
href="https://coolify.io/docs/knowledge-base/s3/introduction" target="_blank">Coolify Docs</a>.</div>
|
|
|
|
|
<form class="flex flex-col gap-2" wire:submit='submit'>
|
|
|
|
|
<div class="flex gap-2">
|
|
|
|
|
<x-forms.input required label="Name" id="name" />
|
|
|
|
|
<x-forms.input label="Description" id="description" />
|
|
|
|
|
</div>
|
2025-09-29 10:50:25 +00:00
|
|
|
<x-forms.input required type="url" label="Endpoint" wire:model.blur="endpoint" />
|
2025-08-26 08:27:31 +00:00
|
|
|
<div class="flex gap-2">
|
|
|
|
|
<x-forms.input required label="Bucket" id="bucket" />
|
|
|
|
|
<x-forms.input required helper="Region only required for AWS. Leave it as-is for other providers."
|
|
|
|
|
label="Region" id="region" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex gap-2">
|
|
|
|
|
<x-forms.input required type="password" label="Access Key" id="key" />
|
|
|
|
|
<x-forms.input required type="password" label="Secret Key" id="secret" />
|
|
|
|
|
</div>
|
2023-08-07 13:31:42 +00:00
|
|
|
|
2025-08-26 08:27:31 +00:00
|
|
|
<x-forms.button class="mt-4" type="submit">
|
|
|
|
|
Validate Connection & Continue
|
|
|
|
|
</x-forms.button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
@else
|
2025-09-25 09:14:56 +00:00
|
|
|
<x-callout type="warning" title="Permission Required">
|
2025-09-29 10:50:25 +00:00
|
|
|
You don't have permission to create new S3 storage configurations. Please contact your team administrator for
|
|
|
|
|
access.
|
2025-09-25 09:14:56 +00:00
|
|
|
</x-callout>
|
2025-08-26 08:27:31 +00:00
|
|
|
@endcan
|