Fix auto deploy docker command not including the container argument (#1584)

Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
This commit is contained in:
IThundxr 2025-09-03 16:30:18 -04:00 committed by GitHub
parent 7ace3978d8
commit 02f788a659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ class NodeAutoDeployService
return sprintf( return sprintf(
'%s wings configure --panel-url %s --token %s --node %d%s', '%s wings configure --panel-url %s --token %s --node %d%s',
$docker ? 'docker compose exec -it' : 'sudo', $docker ? 'docker compose exec -it $(docker ps --filter "name=wings" --format "{{.Names}}")' : 'sudo',
config('app.url'), config('app.url'),
$token, $token,
$node->id, $node->id,