From 2b9df41444bd6ef90aef9816ff3ca91483fd2d4c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 31 Jan 2024 15:04:08 +0100 Subject: [PATCH] fix: create dynamic directory --- app/Actions/Proxy/StartProxy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Actions/Proxy/StartProxy.php b/app/Actions/Proxy/StartProxy.php index daee357d5..99206606d 100644 --- a/app/Actions/Proxy/StartProxy.php +++ b/app/Actions/Proxy/StartProxy.php @@ -27,7 +27,7 @@ class StartProxy $server->save(); if ($server->isSwarm()) { $commands = $commands->merge([ - "mkdir -p $proxy_path && cd $proxy_path", + "mkdir -p $proxy_path/dynamic && cd $proxy_path", "echo 'Creating required Docker Compose file.'", "echo 'Starting coolify-proxy.'", "cd $proxy_path && docker stack deploy -c docker-compose.yml coolify-proxy", @@ -35,7 +35,7 @@ class StartProxy ]); } else { $commands = $commands->merge([ - "mkdir -p $proxy_path && cd $proxy_path", + "mkdir -p $proxy_path/dynamic && cd $proxy_path", "echo 'Creating required Docker Compose file.'", "echo 'Pulling docker image.'", 'docker compose pull',