Closed she1110 closed 6 months ago
Use
docker run --add-host=host.docker.internal:host-gateway -p 3000:3000 ghcr.io/ivanfioravanti/chatbot-ollama:main
and make sure that the ollama service listens on 0.0.0.0 (default is 127.0.0.1, I believe)
@insunaa is right here.
} [TypeError: fetch failed] { cause: [Error: getaddrinfo ENOTFOUND host.docker.internal] { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'host.docker.internal' }