change proxy path in dev

This commit is contained in:
Andras Bacsai 2023-08-15 15:06:54 +02:00
parent 77dad42f97
commit 316f855280
3 changed files with 0 additions and 6 deletions

View File

@ -13,6 +13,4 @@ APP_DEBUG=true
APP_URL=http://localhost APP_URL=http://localhost
APP_PORT=8000 APP_PORT=8000
DEV_CONFIG_PATH=/home/andrasbacsai/devel/coolify/_data/coolify
DUSK_DRIVER_URL=http://selenium:4444 DUSK_DRIVER_URL=http://selenium:4444

View File

@ -13,9 +13,6 @@ function get_proxy_path()
function generate_default_proxy_configuration(Server $server) function generate_default_proxy_configuration(Server $server)
{ {
$proxy_path = get_proxy_path(); $proxy_path = get_proxy_path();
if (is_dev()) {
$proxy_path = config('coolify.dev_config_path') . '/' . $server->name . '/proxy';
}
$networks = collect($server->standaloneDockers)->map(function ($docker) { $networks = collect($server->standaloneDockers)->map(function ($docker) {
return $docker['network']; return $docker['network'];
})->unique(); })->unique();

View File

@ -17,5 +17,4 @@
'mux_enabled' => env('MUX_ENABLED', true), 'mux_enabled' => env('MUX_ENABLED', true),
'dev_webhook' => env('SERVEO_URL'), 'dev_webhook' => env('SERVEO_URL'),
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'), 'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
'dev_config_path' => env('DEV_CONFIG_PATH', './_data/coolify'),
]; ];