fix(openclaw): env

This commit is contained in:
2026-02-26 15:59:53 +07:00
parent d29a9a2802
commit 586501bbde

View File

@@ -1120,7 +1120,7 @@ class Service extends BaseModel
break; break;
case $image->contains('coollabsio/openclaw'): case $image->contains('coollabsio/openclaw'):
$data = collect([]); $data = collect([]);
$username = $this->environment_variables()->where('key', 'AUTH_USERNAME')->first(); $username = $this->environment_variables()->where('key', 'SERVICE_USER_OPENCLAW')->first();
$password = $this->environment_variables()->where('key', 'SERVICE_PASSWORD_OPENCLAW')->first(); $password = $this->environment_variables()->where('key', 'SERVICE_PASSWORD_OPENCLAW')->first();
$gateway_token = $this->environment_variables()->where('key', 'SERVICE_PASSWORD_64_GATEWAYTOKEN')->first(); $gateway_token = $this->environment_variables()->where('key', 'SERVICE_PASSWORD_64_GATEWAYTOKEN')->first();
if ($username) { if ($username) {