diff --git a/README.md b/README.md index a28cc6d..76c8ab6 100644 --- a/README.md +++ b/README.md @@ -56,3 +56,8 @@ See `openclaw_assistant/config.yaml` for the authoritative schema. ## Docs See **DOCS.md** for a step-by-step first-time setup guide + troubleshooting. + +## Support / Donations + +If you find this useful and you want to bring me a coffee to make more useful things, or support the project, use the link below: +- https://revolut.me/vanyo6dhw diff --git a/openclaw_assistant/Dockerfile b/openclaw_assistant/Dockerfile index e460de4..e2096d9 100644 --- a/openclaw_assistant/Dockerfile +++ b/openclaw_assistant/Dockerfile @@ -44,7 +44,7 @@ RUN set -eu; \ # Install OpenClaw globally RUN npm config set fund false && npm config set audit false \ - && npm install -g openclaw@2026.1.29 + && npm install -g openclaw@2026.1.30 COPY run.sh /run.sh COPY nginx.conf.tpl /etc/nginx/nginx.conf.tpl diff --git a/openclaw_assistant/config.yaml b/openclaw_assistant/config.yaml index 0909548..5067db2 100644 --- a/openclaw_assistant/config.yaml +++ b/openclaw_assistant/config.yaml @@ -1,5 +1,5 @@ name: OpenClaw Assistant -version: "0.5.10" +version: "0.5.13" slug: openclaw_assistant description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on. url: https://github.com/techartdev/OpenClawHomeAssistant diff --git a/openclaw_assistant/run.sh b/openclaw_assistant/run.sh index 801d05e..bb353b2 100644 --- a/openclaw_assistant/run.sh +++ b/openclaw_assistant/run.sh @@ -222,8 +222,17 @@ landing = landing_tpl.replace('__GATEWAY_TOKEN__', token) landing = landing.replace('__GATEWAY_PUBLIC_URL__', public_url) landing = landing.replace('__GW_PUBLIC_URL_PATH__', gw_path) -Path('/etc/nginx/html').mkdir(parents=True, exist_ok=True) -Path('/etc/nginx/html/index.html').write_text(landing) +out_dir = Path('/etc/nginx/html') +out_dir.mkdir(parents=True, exist_ok=True) +out_file = out_dir / 'index.html' +out_file.write_text(landing) + +# Ensure nginx can read it even if base image uses restrictive umask/permissions. +try: + out_dir.chmod(0o755) + out_file.chmod(0o644) +except Exception: + pass PY echo "Starting ingress proxy (nginx) on :8099 ..."