lightweight go reverse proxy for ollama with bearer token authentication
go proxy ollama

docs: add systemd example

+24
+24
ollama-proxy.service
··· 1 + [Unit] 2 + Description=Ollama Proxy - Bearer token authentication proxy for Ollama API 3 + Documentation=https://github.com/julienrbrt/ollama-proxy 4 + After=network-online.target 5 + Wants=network-online.target 6 + 7 + [Service] 8 + Type=simple 9 + Restart=on-failure 10 + RestartSec=5s 11 + 12 + # Environment variables 13 + Environment="OP_AUTH_TOKEN=your-secret-token-here" 14 + Environment="OP_OLLAMA_URL=http://localhost:11434" 15 + Environment="OP_PORT=11433" 16 + 17 + # Alternatively, use an environment file: 18 + # EnvironmentFile=/etc/ollama-proxy/config.env 19 + 20 + # Path to the binary 21 + ExecStart=/usr/local/bin/ollama-proxy 22 + 23 + [Install] 24 + WantedBy=multi-user.target