init of static deployments

This commit is contained in:
Andras Bacsai
2023-04-25 15:48:45 +02:00
parent 9051214278
commit 3e9e1e94d6
5 changed files with 39 additions and 19 deletions

View File

@@ -27,8 +27,7 @@ return new class extends Migration
$table->string('docker_registry_image_tag')->nullable();
$table->string('build_pack');
$table->string('base_image')->nullable();
$table->string('build_image')->nullable();
$table->string('static_image')->default('nginx:alpine');
$table->string('install_command')->nullable();
$table->string('build_command')->nullable();

View File

@@ -13,6 +13,7 @@ return new class extends Migration
{
Schema::create('application_settings', function (Blueprint $table) {
$table->id();
$table->boolean('is_static')->default(false);
$table->boolean('is_git_submodules_allowed')->default(true);
$table->boolean('is_git_lfs_allowed')->default(true);
$table->boolean('is_auto_deploy')->default(true);