This commit is contained in:
Andras Bacsai committed 2023-05-04 15:45:53 +02:00
1 parent ec0e560bac
commit d5b332fc59
16 files changed
+149 -43

No files matched your search

@@ -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');
+10
View File
@@ -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,
]
]
]);
}
}