fix prod build
This commit is contained in:
parent
a0a03f386a
commit
3156d97969
@ -43,7 +43,7 @@ protected function getDockerComposeContents()
|
||||
protected function getComposeData(): array
|
||||
{
|
||||
$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);
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?php
|
||||
include 'vendor/autoload.php';
|
||||
$config = include 'config/coolify.php';
|
||||
echo $config['version'];
|
||||
|
@ -2,6 +2,4 @@
|
||||
|
||||
return [
|
||||
'version' => '4.0.0-nightly.2',
|
||||
|
||||
'project_path_on_host' => env('PROJECT_PATH_ON_HOST', '/var/www/html')
|
||||
];
|
||||
|
5
config/proxy.php
Normal file
5
config/proxy.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'project_path_on_host' => env('PROJECT_PATH_ON_HOST', '/var/www/html')
|
||||
];
|
Loading…
Reference in New Issue
Block a user