mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 14:16:28 +00:00
feat(buildpack): add Railpack as a build pack option
This commit is contained in:
1 parent
8be226788e
commit
793077d74f
18 files changed
+485
-28
No files matched your search
@@ -598,7 +598,7 @@ class General extends Component
|
||||
// Sync property to model before checking/modifying
|
||||
$this->syncData(toModel: true);
|
||||
|
||||
if ($this->buildPack !== 'nixpacks') {
|
||||
if ($this->buildPack !== 'nixpacks' && $this->buildPack !== 'railpack') {
|
||||
$this->isStatic = false;
|
||||
$this->application->settings->is_static = false;
|
||||
$this->application->settings->save();
|
||||
|
||||
@@ -62,7 +62,7 @@ class GithubPrivateRepository extends Component
|
||||
|
||||
protected int $page = 1;
|
||||
|
||||
public $build_pack = 'nixpacks';
|
||||
public $build_pack = 'railpack';
|
||||
|
||||
public bool $show_is_static = true;
|
||||
|
||||
@@ -82,7 +82,7 @@ class GithubPrivateRepository extends Component
|
||||
|
||||
public function updatedBuildPack()
|
||||
{
|
||||
if ($this->build_pack === 'nixpacks') {
|
||||
if ($this->build_pack === 'nixpacks' || $this->build_pack === 'railpack') {
|
||||
$this->show_is_static = true;
|
||||
$this->port = 3000;
|
||||
} elseif ($this->build_pack === 'static') {
|
||||
|
||||
@@ -45,7 +45,7 @@ class GithubPrivateRepositoryDeployKey extends Component
|
||||
|
||||
public string $branch;
|
||||
|
||||
public $build_pack = 'nixpacks';
|
||||
public $build_pack = 'railpack';
|
||||
|
||||
public bool $show_is_static = true;
|
||||
|
||||
@@ -95,7 +95,7 @@ class GithubPrivateRepositoryDeployKey extends Component
|
||||
|
||||
public function updatedBuildPack()
|
||||
{
|
||||
if ($this->build_pack === 'nixpacks') {
|
||||
if ($this->build_pack === 'nixpacks' || $this->build_pack === 'railpack') {
|
||||
$this->show_is_static = true;
|
||||
$this->port = 3000;
|
||||
} elseif ($this->build_pack === 'static') {
|
||||
|
||||
@@ -57,7 +57,7 @@ class PublicGitRepository extends Component
|
||||
|
||||
public string $git_repository;
|
||||
|
||||
public $build_pack = 'nixpacks';
|
||||
public $build_pack = 'railpack';
|
||||
|
||||
public bool $show_is_static = true;
|
||||
|
||||
@@ -99,7 +99,7 @@ class PublicGitRepository extends Component
|
||||
|
||||
public function updatedBuildPack()
|
||||
{
|
||||
if ($this->build_pack === 'nixpacks') {
|
||||
if ($this->build_pack === 'nixpacks' || $this->build_pack === 'railpack') {
|
||||
$this->show_is_static = true;
|
||||
$this->port = 3000;
|
||||
} elseif ($this->build_pack === 'static') {
|
||||
|
||||
Reference in new issue
Block a user