Skip to content

Commit

Permalink
fix: #54 disable healthchecks for workers
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Jul 5, 2024
1 parent 07cd206 commit e4bfc09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/Models/DeploymentData/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ public function asNodeTasks(Deployment $deployment): array
'Labels' => $labels,
]
])->toArray(),
'HealthCheck' => ['NONE'],
'Hosts' => [
$internalDomain,
],
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
|
*/

'name' => env('APP_NAME', 'Laravel'),
'name' => env('APP_NAME', 'Ptah.sh'),

/*
|--------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Pages/Services/Partials/DeploymentData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ const submitProcessRemoval = () => {
</fwb-tooltip>
</template>

<TextInput v-model="model.processes[state.selectedProcessIndex['processes']].releaseCommand.command" class="block w-full" placeholder="php artisan migrate --no-interaction --verbose --ansi --step --force"/>
<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" />
</FormField>

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

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

0 comments on commit e4bfc09

Please sign in to comment.