Skip to content

Commit

Permalink
Merge pull request #4886 from coollabsio/next
Browse files Browse the repository at this point in the history
v4.0.0-beta.384
  • Loading branch information
andrasbacsai authored Jan 21, 2025
2 parents 84e6db4 + e83164e commit 455ae02
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
3 changes: 3 additions & 0 deletions app/Jobs/ApplicationDeploymentJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -2287,7 +2287,10 @@ private function start_by_compose_file()
private function generate_build_env_variables()
{
$variables = collect($this->nixpacks_plan_json->get('variables'));

$this->build_args = $variables->map(function ($value, $key) {
$value = escapeshellarg($value);

return "--build-arg {$key}={$value}";
});
}
Expand Down
2 changes: 1 addition & 1 deletion config/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'coolify' => [
'version' => '4.0.0-beta.383',
'version' => '4.0.0-beta.384',
'self_hosted' => env('SELF_HOSTED', true),
'autoupdate' => env('AUTOUPDATE'),
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
href="{{ route('project.database.persistent-storage', ['project_uuid' => $project->uuid, 'environment_uuid' => $environment->uuid, 'database_uuid' => $database->uuid]) }}"
wire:navigate>Persistent Storage</a>
<a class='menu-item' wire:current.exact="menu-item-active"
href="{{ route('project.database.import-backups', ['project_uuid' => $project->uuid, 'environment_uuid' => $environment->uuid, 'database_uuid' => $database->uuid]) }}"
wire:navigate>Import Backups</a>
href="{{ route('project.database.import-backups', ['project_uuid' => $project->uuid, 'environment_uuid' => $environment->uuid, 'database_uuid' => $database->uuid]) }}">Import
Backups</a>
<a class='menu-item' wire:current.exact="menu-item-active"
href="{{ route('project.database.webhooks', ['project_uuid' => $project->uuid, 'environment_uuid' => $environment->uuid, 'database_uuid' => $database->uuid]) }}"
wire:navigate>Webhooks</a>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/project/service/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class="{{ request()->routeIs('project.service.configuration') ? 'menu-item-activ
@if ($serviceDatabase?->isBackupSolutionAvailable())
<a :class="activeTab === 'backups' && 'menu-item-active'" class="menu-item"
@click.prevent="activeTab = 'backups'; window.location.hash = 'backups'"
wire:navigate href="#">Backups</a>
wire:navigate href="#backups">Backups</a>
@endif
</div>
<div class="w-full">
Expand Down
5 changes: 5 additions & 0 deletions templates/compose/cloudflared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ services:
command: tunnel --no-autoupdate run
environment:
- 'TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}'
healthcheck:
test: ["CMD", "cloudflared", "--version"]
interval: 5s
timeout: 20s
retries: 10
4 changes: 2 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"coolify": {
"v4": {
"version": "4.0.0-beta.383"
"version": "4.0.0-beta.384"
},
"nightly": {
"version": "4.0.0-beta.384"
"version": "4.0.0-beta.385"
},
"helper": {
"version": "1.0.4"
Expand Down

0 comments on commit 455ae02

Please sign in to comment.