wip
This commit is contained in:
parent
e69040c799
commit
112082b643
@ -22,7 +22,7 @@ public function submit()
|
||||
}
|
||||
public function delete()
|
||||
{
|
||||
instantRemoteProcess(['docker network rm -f ' . $this->destination->network], $this->destination->server);
|
||||
// instantRemoteProcess(['docker network rm -f ' . $this->destination->network], $this->destination->server);
|
||||
$this->destination->delete();
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
|
@ -98,8 +98,12 @@ public function loadBranches()
|
||||
}
|
||||
public function loadServers()
|
||||
{
|
||||
$this->servers = Server::validated();
|
||||
$this->selected_server_id = $this->servers[0]['id'];
|
||||
try {
|
||||
$this->servers = Server::validated();
|
||||
$this->selected_server_id = $this->servers[0]['id'];
|
||||
} catch (\Exception $e) {
|
||||
return generalErrorHandler($e);
|
||||
}
|
||||
}
|
||||
public function loadDestinations()
|
||||
{
|
||||
|
@ -35,7 +35,8 @@ function reset-db {
|
||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
|
||||
}
|
||||
function reset-db-production {
|
||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
|
||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
|
||||
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
|
||||
}
|
||||
function coolify {
|
||||
bash vendor/bin/spin exec -u webuser coolify bash
|
||||
|
Loading…
Reference in New Issue
Block a user