An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: read env from config, bc of cache
Andras Bacsaie20cdd83f887
diff --git a/app/Http/Livewire/Project/New/PublicGitRepository.php b/app/Http/Livewire/Project/New/PublicGitRepository.phpindex 736d85c695..b676b463cf 100644--- a/app/Http/Livewire/Project/New/PublicGitRepository.php+++ b/app/Http/Livewire/Project/New/PublicGitRepository.php@@ -38,7 +38,7 @@ class PublicGitRepository extends Component];public function mount(){- if (env('APP_ENV') === 'local') {+ if (config('app.env') === 'local') {$this->public_repository_url = 'https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify';$this->port = 3000;}diff --git a/resources/views/livewire/project/application/deploy.blade.php b/resources/views/livewire/project/application/deploy.blade.phpindex 06e71bf55e..8237c0ce7f 100644--- a/resources/views/livewire/project/application/deploy.blade.php+++ b/resources/views/livewire/project/application/deploy.blade.php@@ -18,7 +18,7 @@@if (data_get($application, 'ports_mappings_array'))@foreach ($application->ports_mappings_array as $port)- @if (env('APP_ENV') === 'local')+ @if (config('app.env') === 'local')<a target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">Open{{ explode(':', $port)[0] }}</a>@else