fix prod build

This commit is contained in:
Andras Bacsai 2023-05-04 09:09:41 +02:00
parent a0a03f386a
commit 3156d97969
4 changed files with 6 additions and 4 deletions

View File

@ -43,7 +43,7 @@ protected function getDockerComposeContents()
protected function getComposeData(): array protected function getComposeData(): array
{ {
$cwd = config('app.env') === 'local' $cwd = config('app.env') === 'local'
? config('coolify.project_path_on_host') . '/_testing_hosts/host_2_proxy' ? config('proxy.project_path_on_host') . '/_testing_hosts/host_2_proxy'
: '.'; : '.';
ray($cwd); ray($cwd);

View File

@ -1,4 +1,3 @@
<?php <?php
include 'vendor/autoload.php';
$config = include 'config/coolify.php'; $config = include 'config/coolify.php';
echo $config['version']; echo $config['version'];

View File

@ -2,6 +2,4 @@
return [ return [
'version' => '4.0.0-nightly.2', 'version' => '4.0.0-nightly.2',
'project_path_on_host' => env('PROJECT_PATH_ON_HOST', '/var/www/html')
]; ];

5
config/proxy.php Normal file
View File

@ -0,0 +1,5 @@
<?php
return [
'project_path_on_host' => env('PROJECT_PATH_ON_HOST', '/var/www/html')
];