Skip to content

Commit e4bfc09

Browse files
committed
fix: #54 disable healthchecks for workers
1 parent 07cd206 commit e4bfc09

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/Models/DeploymentData/Process.php

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ public function asNodeTasks(Deployment $deployment): array
235235
'Labels' => $labels,
236236
]
237237
])->toArray(),
238+
'HealthCheck' => ['NONE'],
238239
'Hosts' => [
239240
$internalDomain,
240241
],

config/app.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
|
1414
*/
1515

16-
'name' => env('APP_NAME', 'Laravel'),
16+
'name' => env('APP_NAME', 'Ptah.sh'),
1717

1818
/*
1919
|--------------------------------------------------------------------------

resources/js/Pages/Services/Partials/DeploymentData.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ const submitProcessRemoval = () => {
344344
</fwb-tooltip>
345345
</template>
346346

347-
<TextInput v-model="model.processes[state.selectedProcessIndex['processes']].releaseCommand.command" class="block w-full" placeholder="php artisan migrate --no-interaction --verbose --ansi --step --force"/>
347+
<TextInput v-model="model.processes[state.selectedProcessIndex['processes']].releaseCommand.command" class="block w-full" placeholder="php artisan config:cache && php artisan migrate --no-interaction --verbose --ansi --force" />
348348
</FormField>
349349

350350
<FormField class="col-span-6" :error="props.errors[`processes.${state.selectedProcessIndex['processes']}.command`]">
@@ -413,7 +413,7 @@ const submitProcessRemoval = () => {
413413
Command
414414
</template>
415415

416-
<TextInput v-model="model.processes[state.selectedProcessIndex['processes']].workers[index].command" class="block w-full" placeholder="php artisan queue:work"/>
416+
<TextInput v-model="model.processes[state.selectedProcessIndex['processes']].workers[index].command" class="block w-full" placeholder="php artisan config:cache && php artisan queue:work"/>
417417
</FormField>
418418
</template>
419419
</template>

0 commit comments

Comments
 (0)