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
  • 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 | 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 1.3k 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 👍

                1 Reply Last reply
                2
                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