Add Ollama with binary tool pattern and turnstile service

This commit is contained in:
Fabio Scotto di Santolo
2026-04-18 16:12:18 +02:00
parent 821e62e8f5
commit 17abff32b1
4 changed files with 151 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
exec chpst -e "$TURNSTILE_ENV_DIR" /usr/local/bin/ollama serve
fi
exec /usr/local/bin/ollama serve