Files
secure-ollama-api/README.md
2025-11-10 19:39:45 +01:00

556 B

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