From 8f78c54cd3a7eb963a886e8d1179acfba4dc6f04 Mon Sep 17 00:00:00 2001
From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
Date: Thu, 25 Sep 2025 13:18:48 +0200
Subject: [PATCH] fix(application): restrict GitHub-based application settings
to non-public repositories
---
.../views/livewire/project/application/general.blade.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php
index 3b9609ac4..6fddb549a 100644
--- a/resources/views/livewire/project/application/general.blade.php
+++ b/resources/views/livewire/project/application/general.blade.php
@@ -268,7 +268,7 @@ class="underline" href="https://coolify.io/docs/knowledge-base/docker/registry"
helper="If you use this, you need to specify paths relatively and should use the same compose file in the custom command, otherwise the automatically configured labels / etc won't work.
So in your case, use: docker compose -f .{{ Str::start($application->base_directory . $application->docker_compose_location, '/') }} up -d"
label="Custom Start Command" />
- @if ($this->application->is_github_based())
+ @if ($this->application->is_github_based() && !$this->application->is_public_repository())