From 316f855280b32ccc56473969599c731bd01beb4c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 15 Aug 2023 15:06:54 +0200 Subject: [PATCH] change proxy path in dev --- .env.development.example | 2 -- bootstrap/helpers/proxy.php | 3 --- config/coolify.php | 1 - 3 files changed, 6 deletions(-) diff --git a/.env.development.example b/.env.development.example index 506448d38..e73b8c1dd 100644 --- a/.env.development.example +++ b/.env.development.example @@ -13,6 +13,4 @@ APP_DEBUG=true APP_URL=http://localhost APP_PORT=8000 -DEV_CONFIG_PATH=/home/andrasbacsai/devel/coolify/_data/coolify - DUSK_DRIVER_URL=http://selenium:4444 diff --git a/bootstrap/helpers/proxy.php b/bootstrap/helpers/proxy.php index 77ea397ae..86c9ca528 100644 --- a/bootstrap/helpers/proxy.php +++ b/bootstrap/helpers/proxy.php @@ -13,9 +13,6 @@ function get_proxy_path() function generate_default_proxy_configuration(Server $server) { $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) { return $docker['network']; })->unique(); diff --git a/config/coolify.php b/config/coolify.php index d7a7586f0..b9e092175 100644 --- a/config/coolify.php +++ b/config/coolify.php @@ -17,5 +17,4 @@ 'mux_enabled' => env('MUX_ENABLED', true), 'dev_webhook' => env('SERVEO_URL'), 'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'), - 'dev_config_path' => env('DEV_CONFIG_PATH', './_data/coolify'), ];