Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Openclaw - your free open-source AI personal assistant (formerly Clawdbot & Moltbot)

Openclaw - your free open-source AI personal assistant (formerly Clawdbot & Moltbot)

Scheduled Pinned Locked Moved App Wishlist
57 Posts 11 Posters 15.8k Views 14 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • timconsidineT timconsidine

    @andreasdueren well done and thank you

    I'm struggling to understand how openclaw being bundled with ollama affects (can be used with) the cloudron ollama app. But finding the answer is deferred below other projects.

    andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    App Dev
    wrote last edited by
    #48

    @timconsidine I didn't bundle it with ollama. Is that something you want to do? Ollama won't really be very useful on the vast majority of servers without some beefy GPU. But you could connect openclaw with it.

    timconsidineT 1 Reply Last reply
    0
    • andreasduerenA andreasdueren

      @timconsidine I didn't bundle it with ollama. Is that something you want to do? Ollama won't really be very useful on the vast majority of servers without some beefy GPU. But you could connect openclaw with it.

      timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote last edited by
      #49

      @andreasdueren I already have Ollama installed as cloudron app.
      I mostly use the ollama cloud models in the cloudron app (ollama pull) so minimal model processing on my cloudron vps.
      Then I connect to my cloudron ollama in an AI app.

      I'm just not sure what my cloudron ollama is doing with openclaw ! Need to dig into it.

      I started packaging openclaw, but paused, might use yours, but generally looking at nanobot for lightweight stuff and AgentZero / Windmill / Dify for heavy weight stuff. So not sure I actually need Openclaw, especially as AgentZero now has skills.
      All to be dug into.

      Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

      robiR 1 Reply Last reply
      1
      • andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        App Dev
        wrote last edited by
        #50

        Pushing an update now for easy ollama configuration. You should be able to pass endpoint and API key through the .env

        To connect your Cloudron Ollama with OpenClaw:

        • install Ollama
        • download a model in Ollama, for example by running ollama pull tinyllama in the web terminal.
        • grab the Ollama API key with cat /app/data/.api_keyor from the file explorer
        • install OpenClaw
        • open file explorer for OpenClaw app and open .env
        • add endpoint and api key from ollama
        • restart OpenClaw
        1 Reply Last reply
        2
        • andreasduerenA Offline
          andreasduerenA Offline
          andreasdueren
          App Dev
          wrote last edited by
          #51

          actually looks a bit more complicated and that ollama won't let openclaw do model discovery without api key… I'll have to look more into this

          1 Reply Last reply
          1
          • andreasduerenA Offline
            andreasduerenA Offline
            andreasdueren
            App Dev
            wrote last edited by
            #52

            I think it works now. Too slow on CPU so can't actually test it without waiting ages. Ollama will only work with a model that supports tool use, so no tinyllama.

            1. Node.js version override

            Cloudron base image ships Node 22.14, OpenClaw requires 22.16+. We symlink /usr/local/node-22.14.0/bin/node → /usr/bin/node (NodeSource 22.22) so both the gateway
            and openclaw CLI use the correct version.

            2. Gateway config for reverse proxy

            OpenClaw doesn't expect to run behind a proxy by default. start.sh creates /app/data/config/openclaw.json on first run with:

            • gateway.mode: "local" — skips pairing requirement
            • gateway.trustedProxies: ["172.18.0.0/16"] — trusts Cloudron's Docker network
            • gateway.controlUi.dangerouslyAllowHostHeaderOriginFallback: true — allows web UI behind Cloudron's reverse proxy
            • gateway.controlUi.dangerouslyDisableDeviceAuth: true — skips device pairing for web UI
            3. Ollama auth proxy

            OpenClaw's Ollama model discovery (/api/tags) doesn't send auth headers. Cloudron's Ollama package requires Bearer token auth. start.sh starts a Node.js HTTP proxy on localhost:11434 that:

            • Intercepts all requests to Ollama
            • Injects Authorization: Bearer <OLLAMA_API_KEY> header
            • Forwards to the real OLLAMA_BASE_URL
            • Overrides OLLAMA_BASE_URL to http://127.0.0.1:11434 so OpenClaw talks to the proxy

            Activated when both OLLAMA_API_KEY and OLLAMA_BASE_URL are set in /app/data/.env.

            4. Auth auto-provisioning

            start.sh auto-creates /app/data/agents/main/agent/auth-profiles.json from:

            • CLAUDE_SETUP_TOKEN → type: "token" profile
            • ANTHROPIC_API_KEY → type: "api_key" profile

            Not sure if this is actually valuable for anyone but it should work.

            robiR 1 Reply Last reply
            2
            • timconsidineT timconsidine

              @andreasdueren I already have Ollama installed as cloudron app.
              I mostly use the ollama cloud models in the cloudron app (ollama pull) so minimal model processing on my cloudron vps.
              Then I connect to my cloudron ollama in an AI app.

              I'm just not sure what my cloudron ollama is doing with openclaw ! Need to dig into it.

              I started packaging openclaw, but paused, might use yours, but generally looking at nanobot for lightweight stuff and AgentZero / Windmill / Dify for heavy weight stuff. So not sure I actually need Openclaw, especially as AgentZero now has skills.
              All to be dug into.

              robiR Offline
              robiR Offline
              robi
              wrote last edited by
              #53

              @timconsidine I didn't know ollama could use cloud models.. now it just needs an autorouter feature

              @andreasdueren nice is all that for a separate openclaw or the one you can install along with ollama?

              Conscious tech

              andreasduerenA 1 Reply Last reply
              0
              • robiR robi

                @timconsidine I didn't know ollama could use cloud models.. now it just needs an autorouter feature

                @andreasdueren nice is all that for a separate openclaw or the one you can install along with ollama?

                andreasduerenA Offline
                andreasduerenA Offline
                andreasdueren
                App Dev
                wrote last edited by
                #54

                @robi These were patches made to the openclaw package. I'd say best is you guys test what you are trying to do then we can make all moving parts work

                1 Reply Last reply
                1
                • J Offline
                  J Offline
                  joseph
                  Staff
                  wrote last edited by
                  #55

                  @andreasdueren should we add this to the community list for wider testing?

                  andreasduerenA 1 Reply Last reply
                  1
                  • J joseph

                    @andreasdueren should we add this to the community list for wider testing?

                    andreasduerenA Offline
                    andreasduerenA Offline
                    andreasdueren
                    App Dev
                    wrote last edited by
                    #56

                    @Joseph Sure! Did you already add the ente package?

                    1 Reply Last reply
                    0
                    • andreasduerenA andreasdueren

                      I think it works now. Too slow on CPU so can't actually test it without waiting ages. Ollama will only work with a model that supports tool use, so no tinyllama.

                      1. Node.js version override

                      Cloudron base image ships Node 22.14, OpenClaw requires 22.16+. We symlink /usr/local/node-22.14.0/bin/node → /usr/bin/node (NodeSource 22.22) so both the gateway
                      and openclaw CLI use the correct version.

                      2. Gateway config for reverse proxy

                      OpenClaw doesn't expect to run behind a proxy by default. start.sh creates /app/data/config/openclaw.json on first run with:

                      • gateway.mode: "local" — skips pairing requirement
                      • gateway.trustedProxies: ["172.18.0.0/16"] — trusts Cloudron's Docker network
                      • gateway.controlUi.dangerouslyAllowHostHeaderOriginFallback: true — allows web UI behind Cloudron's reverse proxy
                      • gateway.controlUi.dangerouslyDisableDeviceAuth: true — skips device pairing for web UI
                      3. Ollama auth proxy

                      OpenClaw's Ollama model discovery (/api/tags) doesn't send auth headers. Cloudron's Ollama package requires Bearer token auth. start.sh starts a Node.js HTTP proxy on localhost:11434 that:

                      • Intercepts all requests to Ollama
                      • Injects Authorization: Bearer <OLLAMA_API_KEY> header
                      • Forwards to the real OLLAMA_BASE_URL
                      • Overrides OLLAMA_BASE_URL to http://127.0.0.1:11434 so OpenClaw talks to the proxy

                      Activated when both OLLAMA_API_KEY and OLLAMA_BASE_URL are set in /app/data/.env.

                      4. Auth auto-provisioning

                      start.sh auto-creates /app/data/agents/main/agent/auth-profiles.json from:

                      • CLAUDE_SETUP_TOKEN → type: "token" profile
                      • ANTHROPIC_API_KEY → type: "api_key" profile

                      Not sure if this is actually valuable for anyone but it should work.

                      robiR Offline
                      robiR Offline
                      robi
                      wrote last edited by
                      #57

                      @andreasdueren if you extend the claw 😂 with opencode or cline or blackbox you can use their free tiers for CPU only envs, no ollama required

                      Conscious tech

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search