Secure Ollama API
This is a simple API that proxies requests to the Ollama API and adds authentication.
Configuration
OLLAMA_SERVER_URL: The URL of the Ollama server.OLLAMA_API_KEY: The API key to use for authentication.
Running
git clone https://git.secnex.io/secnex/secure-ollama-api.git
cd secure-ollama-api
docker compose up -d
Stopping
docker compose down
Restarting
docker compose restart
Removing
docker compose down -v
Logs
docker compose logs -f
Description
Languages
Go
92.2%
Dockerfile
7.8%