Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.26 KB

SELF_HOSTING.md

File metadata and controls

43 lines (28 loc) · 1.26 KB

Self-hosting (with Docker)

Getting started

To host your own Hollama server, install Docker and run the command below in your favorite terminal:

docker run --rm -d -p 4173:4173 --name hollama ghcr.io/fmaclen/hollama:latest

Then visit http://localhost:4173

Updating to the latest version

To update, first stop the container:

docker stop hollama

Then pull the latest version:

docker pull ghcr.io/fmaclen/hollama:latest

Finally, start the container again:

docker run --rm -d -p 4173:4173 --name hollama ghcr.io/fmaclen/hollama:latest

Connecting to an Ollama server hosted elsewhere

If you are using the publicly hosted version or your Docker server is on a separate device than the Ollama server you'll have to set the domain in OLLAMA_ORIGINS. Learn more in Ollama's docs.

OLLAMA_ORIGINS=https://hollama.fernando.is ollama serve