Back to browse
GitHub Repository

Docker image to run an Ollama local LLM server. Secure by default, all API requests require a Bearer token (auto-generated on first start). OpenAI-compatible API. Supports first-start model pre-pull, NVIDIA GPU (CUDA) acceleration, and persistent model storage. Multi-arch: amd64, arm64.

7 starsShell

Secure-by-default Ollama Docker image with built-in auth, only 70MB

by hwdsl2·May 1, 2026·1 point·0 comments

AI Analysis

●●SolidSolve My ProblemShip It

Auto-generated tokens block the 175k exposed Ollama servers found online.

Strengths
  • Enforces Bearer token auth via Caddy proxy without manual config.
  • Tiny 70MB image size compared to standard Ollama Docker builds.
  • Auto-pulls models on first start via environment variable configuration.
Weaknesses
  • No built-in HTTPS termination, requires external reverse proxy for TLS.
  • Still relies on Ollama upstream for actual model inference performance.
Target Audience

Self-hosters, DevOps engineers running local LLMs

Similar To

Ollama · LiteLLM

Similar Projects

Infrastructure●●Solid

Secure-by-default Ollama Docker image with built-in auth, only ~70MB

Auto-generates API keys to block the 175k exposed Ollama instances.

Solve My ProblemCozy
hwdsl2
201mo ago
Security●●Solid

NixOS flake for hardened OpenClaw deployment

Two lines in your flake flip OpenClaw from alarmingly exposed to locked-down: gateway auth, localhost binding, Caddy auto-TLS, strict systemd directives, tool allowlists, and fail2ban are all wired in. It's a pragmatic, opinionated safety wrapper that saves you from the default footguns — just expect it to be useful only if you already live in the NixOS/OpenClaw world.

Niche GemSolve My Problem
scout_agent
104mo ago
Developer Tools●●Solid

Nuvix – An Open Source Back End Where Every Table Is Secure by Default

Auto-generated Row-Level Security plus a three-schema model (document / managed / unmanaged) is the concrete feature that makes this more than yet another BaaS rewrite — you can prototype like NoSQL then flip to managed tables with permission tables and RLS without hand-writing policies. It bundles auth, permission-aware file storage, messaging and embeddings storage which is useful for ML workflows, but it's entering a crowded field (Supabase/Hasura/Appwrite) and would benefit from clearer migration stories, performance numbers, and a hosted roadmap.

Ship ItNiche Gem
ravikantsaini
104mo ago
AI/ML●●Solid

Docker AI Stack, self-hosted LLM/STT/TTS/MCP in one compose file

One-command local AI stack bundling Ollama, Whisper, and MCP Gateway.

Ship ItCozy
hwdsl2
101mo ago

Docker setup for Headscale (self-hosted Tailscale control server)

Convenience wrapper for Headscale when the official Docker image already exists.

CozyShip It
hwdsl2
122mo ago