fix: service start + event
This commit is contained in:
parent
eccd41217f
commit
6882ce8d0f
@ -21,7 +21,7 @@ class StartService
|
||||
$commands[] = "echo 'Pulling images.'";
|
||||
$commands[] = "docker compose pull";
|
||||
$commands[] = "echo 'Starting containers.'";
|
||||
$commands[] = "docker compose up --wait --remove-orphans --force-recreate --build";
|
||||
$commands[] = "docker compose up -d --remove-orphans --force-recreate --build";
|
||||
$commands[] = "docker network connect $service->uuid coolify-proxy >/dev/null 2>&1 || true";
|
||||
$compose = data_get($service, 'docker_compose', []);
|
||||
$serviceNames = data_get(Yaml::parse($compose), 'services', []);
|
||||
|
@ -65,6 +65,6 @@ class Navbar extends Component
|
||||
} else {
|
||||
$this->dispatch('success', 'Service stopped successfully.');
|
||||
}
|
||||
event(new ServiceStatusChanged(userId: auth()->user()->id));
|
||||
event(new ServiceStatusChanged());
|
||||
}
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ services:
|
||||
ports:
|
||||
- "${FORWARD_SOKETI_PORT:-6001}:6001"
|
||||
environment:
|
||||
SOKETI_DEBUG: "false"
|
||||
SOKETI_DEBUG: "true"
|
||||
SOKETI_DEFAULT_APP_ID: "${PUSHER_APP_ID:-coolify}"
|
||||
SOKETI_DEFAULT_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
||||
SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user