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
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
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