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. Discuss
  3. Ollama as Cloudron app - health check?

Ollama as Cloudron app - health check?

Scheduled Pinned Locked Moved Discuss
6 Posts 5 Posters 2.8k Views 5 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.
  • E Offline
    E Offline
    ekevu123
    wrote on last edited by
    #1

    I am trying to install Ollama as a cloudron app to run language models via REST API self-hosted. But I don't know what I should pick as the health check URL. How do I figure this out?

    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      You can look for the HEALTHCHECK directive in their existing Dockerfile. Alternately, maybe "/" works ? Any path for which the app responds with a non-500 http error code should work.

      1 Reply Last reply
      2
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #3

        This Github issue comment has some nice insights too https://github.com/jmorganca/ollama/issues/387#issuecomment-1881551261

        Conscious tech

        1 Reply Last reply
        1
        • E Offline
          E Offline
          ekevu123
          wrote on last edited by
          #4

          Okay! I added a small separate function into the code, that helped me.

          KubernetesK timconsidineT 2 Replies Last reply
          3
          • E ekevu123

            Okay! I added a small separate function into the code, that helped me.

            KubernetesK Offline
            KubernetesK Offline
            Kubernetes
            App Dev
            wrote on last edited by
            #5

            @ekevu123 Will you provide the package source to the community?

            1 Reply Last reply
            3
            • E ekevu123

              Okay! I added a small separate function into the code, that helped me.

              timconsidineT Online
              timconsidineT Online
              timconsidine
              App Dev
              wrote on last edited by
              #6

              @ekevu123 if you're happy to share when the time is right, many on Cloudron will appreciate it greatly 👍

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

              1 Reply Last reply
              2

              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