fix: proxy UI

This commit is contained in:
Andras Bacsai committed 2023-07-28 14:44:26 +02:00
1 parent 6aa6f4c8a2
commit 5b6406d09d
10 files changed
+52 -113

No files matched your search

+5 -3
View File
@@ -50,13 +50,15 @@ class StartProxy
"echo 'Creating Docker Compose file...'",
"echo 'Pulling docker image...'",
'docker compose pull -q',
"echo 'Stopping old proxy...'",
"echo 'Stopping existing proxy...'",
'docker compose down -v --remove-orphans',
"echo 'Starting new proxy...'",
"lsof -nt -i:80 | xargs -r kill -9",
"lsof -nt -i:443 | xargs -r kill -9",
"echo 'Starting proxy...'",
'docker compose up -d --remove-orphans',
"echo 'Proxy installed successfully...'"
], $server);
return $activity;
}
}
}