Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(service): openclaw environment variable ui (#8629)

Tien Nguyen Minh1c21eb2dd09a
diff --git a/app/Models/Service.php b/app/Models/Service.php
index 224507c4ef..632bcd8738 100644
--- a/app/Models/Service.php
+++ b/app/Models/Service.php
@@ -1148,7 +1148,7 @@ class Service extends BaseModel
break;
case $image->contains('coollabsio/openclaw'):
$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();
$gateway_token = $this->environment_variables()->where('key', 'SERVICE_PASSWORD_64_GATEWAYTOKEN')->first();
if ($username) {