Skip to content

Instantly share code, notes, and snippets.

View AIWintermuteAI's full-sized avatar

Dmitry AIWintermuteAI

View GitHub Profile
@bartolli
bartolli / Caddyfile
Last active February 21, 2026 17:13
Caddy server to securely authenticate and proxy requests to a local Ollama instance, utilizing environment-based API key validation for enhanced security.
# /opt/homebrew/etc/Caddyfile
http://localhost:8080 {
# Define a matcher for authorized API access
@apiAuth {
header Authorization "Bearer {env.OLLAMA_API_KEY}"
}
# Proxy authorized requests
reverse_proxy @apiAuth http://localhost:11434 {
@sgarciav
sgarciav / docker-compose-rviz.yml
Created June 9, 2021 23:37
docker-compose file to run Rviz inside a Docker container
version: "3.4"
services:
ros-rviz:
build:
context: .
dockerfile: Dockerfile
image: rviz_container:melodic
container_name: rviz_test
network_mode: "host"