wip
This commit is contained in:
@@ -39,6 +39,8 @@ return new class extends Migration
|
||||
$table->string('base_directory')->default('/');
|
||||
$table->string('publish_directory')->nullable();
|
||||
|
||||
$table->schemalessAttributes('environment_variables');
|
||||
|
||||
$table->string('health_check_path')->default('/');
|
||||
$table->string('health_check_port')->nullable();
|
||||
$table->string('health_check_host')->default('localhost');
|
||||
|
||||
@@ -35,6 +35,16 @@ class ApplicationSeeder extends Seeder
|
||||
'destination_type' => StandaloneDocker::class,
|
||||
'source_id' => $github_public_source->id,
|
||||
'source_type' => GithubApp::class,
|
||||
'environment_variables' => [
|
||||
'NODE_ENV' => [
|
||||
'value' => 'production',
|
||||
'isBuildOnly' => true,
|
||||
],
|
||||
'PORT' => [
|
||||
'value' => 3000,
|
||||
'isBuildOnly' => false,
|
||||
]
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user