wip: dockerimage
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
<x-forms.select id="application.build_pack" label="Build Pack" required>
|
||||
<option value="nixpacks">Nixpacks</option>
|
||||
<option value="dockerfile">Dockerfile</option>
|
||||
<option value="dockerimage">Docker Image</option>
|
||||
</x-forms.select>
|
||||
@if ($application->settings->is_static)
|
||||
<x-forms.select id="application.static_image" label="Static Image" required>
|
||||
|
||||
11
resources/views/livewire/project/new/docker-image.blade.php
Normal file
11
resources/views/livewire/project/new/docker-image.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<div>
|
||||
<h1>Create a new Application</h1>
|
||||
<div class="pb-4">You can deploy an existing Docker Image from any Registry.</div>
|
||||
<form wire:submit.prevent="submit">
|
||||
<div class="flex gap-2 pb-1">
|
||||
<h2>Docker Image</h2>
|
||||
<x-forms.button type="submit">Save</x-forms.button>
|
||||
</div>
|
||||
<x-forms.input rows="20" id="dockerImage" placeholder="nginx"></x-forms.textarea>
|
||||
</form>
|
||||
</div>
|
||||
@@ -62,6 +62,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box group" wire:click="setType('docker-image')">
|
||||
<div class="flex flex-col mx-6">
|
||||
<div class="font-bold text-white group-hover:text-white">
|
||||
Based on an existing Docker Image
|
||||
</div>
|
||||
<div class="text-xs group-hover:text-white">
|
||||
You can deploy an existing Docker Image form any Registry.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="py-4">Databases</h2>
|
||||
<div class="grid justify-start grid-cols-1 gap-2 text-left xl:grid-cols-3">
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
<livewire:project.new.simple-dockerfile :type="$type" />
|
||||
@elseif ($type === 'docker-compose-empty')
|
||||
<livewire:project.new.docker-compose :type="$type" />
|
||||
@elseif ($type === 'docker-image')
|
||||
<livewire:project.new.docker-image :type="$type" />
|
||||
@else
|
||||
<livewire:project.new.select />
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user