Default Docker + Ollama Flow
The checked-in Docker setup serves Resume Matcher at http://localhost:3000, on this machine only. To use Ollama with Docker, run Ollama on the host machine and point Resume Matcher at it.
Host Ollama Setup
- Install Ollama from ollama.com.
- Pull a model on the host, for example:
ollama pull gemma3:4b
- Linux only: Ollama listens on
127.0.0.1by default, and traffic from a container doesn’t arrive there. Make it listen on the Docker bridge as well, then restart it:
sudo systemctl edit ollama # add the two lines below
# [Service]
# Environment="OLLAMA_HOST=0.0.0.0"
sudo systemctl restart ollama
This also exposes Ollama to your network, so block port 11434 in your firewall if that matters. The Compose file already points host.docker.internal at your machine on Linux. Docker Desktop on macOS and Windows needs no change.
- Start Resume Matcher from the app repo root with Ollama wired in:
LLM_PROVIDER=ollama LLM_MODEL=gemma3:4b LLM_API_BASE=http://host.docker.internal:11434 docker compose up -d
-
Open
http://localhost:3000/settingsand confirm these values, or set them:- Provider:
Ollama - Model:
gemma3:4b(the default) or another model you already pulled - Base URL:
http://host.docker.internal:11434
Switching the provider to Ollama fills the Base URL with
http://localhost:11434. Inside the container, that address points at the container itself, not your machine, so change it before you save. A Base URL saved in Settings takes priority overLLM_API_BASE. - Provider:
URLs
| Surface | URL |
|---|---|
| App | http://localhost:3000 |
| Settings | http://localhost:3000/settings |
| Health | http://localhost:3000/api/v1/health |
| API docs | http://localhost:3000/docs |
Resume Matcher runs on donations.
More than 200,000 job seekers have used it, free, with no ads and no paywall. If it saved you time or helped you land an interview, sponsoring or buying a coffee keeps it that way.
What This Page Covers
This page documents the supported host-Ollama pattern for Docker.
- Resume Matcher stays on
http://localhost:3000 - Ollama runs on the host machine
LLM_API_BASEpoints the containerized app at the host Ollama server
If you decide to run Ollama in a separate container, treat that as a custom compose extension. It is not the checked-in default Docker flow.
Troubleshooting
Ollama is not responding
Check the host Ollama service:
curl http://localhost:11434/api/tags
Resume Matcher cannot reach Ollama
If Test Connection says Inside Docker, localhost is the container itself, the Base URL still points at localhost or 127.0.0.1. Open Settings and check that the Base URL is http://host.docker.internal:11434, not http://localhost:11434. Then make sure you started Docker with:
LLM_PROVIDER=ollama LLM_MODEL=gemma3:4b LLM_API_BASE=http://host.docker.internal:11434 docker compose up -d
On Linux, also check that Ollama listens beyond 127.0.0.1 (see step 3 above).
Responses are slow
Use a smaller local model or free up memory on the host.