Skip to content

geomlattice/ollama-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generic Ollama Docker

This is a generic ollama docker that runs gemma3:4b. There are a few things that can be done to make this more general, but for now this is a barebones deployment. There is a python file with a REST API that coordinates user interaction and information preprocessing, a compose.yml file to set up an ollama image to talk to, and a Dockerfile that uses the uv toolsuite to manage the packages for the python REST API.

To spin up the containerized images

sudo docker compose --build

To chat from the cli

uv tool install md2term
PROMPT='Hello World'
curl -s http://127.0.0.1:5000/prompt/$PROMPT | uvx md2term -

About

generic ollama docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published