How to connect to remote Ollama server? #232
Answered
by
fmaclen
olegshulyakov
asked this question in
Q&A
-
I am using Hollama as a Docker service version: '3.4'
services:
hollama:
image: ghcr.io/fmaclen/hollama:latest
container_name: hollama
mem_limit: 2g
healthcheck:
test: curl -f http://localhost:4173 || exit 1
environment:
- 'PUID=${PUID}'
- 'PGID=${PGID}'
- 'TZ=${TZ}'
volumes:
- '${ROOT}/docker/hollama:/app/backend/data'
ports:
- 4173:4173
restart: unless-stopped I have set What I am doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
fmaclen
Nov 12, 2024
Replies: 1 comment 2 replies
-
Have you set If that was set correctly and you are still unable to connect you can open Inspector in your browser and take a look at the Network tab, it might give you a better idea of what's going on. It should look like this: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
fmaclen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you set
OLLAMA_ORIGINS=http://ds918.local
(orOLLAMA_ORIGINS=*
) in your Ollama server?If that was set correctly and you are still unable to connect you can open Inspector in your browser and take a look at the Network tab, it might give you a better idea of what's going on. It should look like this: