feat: update .env.example and add Caddyfile

This commit is contained in:
AJ ONeal 2023-10-22 00:28:27 -06:00
parent b035de1b86
commit c307777a6d
No known key found for this signature in database
GPG key ID: 65118FF2A9DB590F
2 changed files with 70 additions and 2 deletions

View file

@ -1,2 +1,6 @@
OLLAMA_API_ENDPOINT=""
PUBLIC_API_ENDPOINT="$OLLAMA_API_ENDPOINT"
PUBLIC_API_ENDPOINT="http://localhost:11434/api"
OLLAMA_API_ID='my-api-token'
OLLAMA_API_TOKEN='xxxxxxxxxxxxxxxx'
# generated by passing the token to `caddy hash-password`
OLLAMA_API_TOKEN_DIGEST='$2a$14$iyyuawykR92xTHNR9lWzfu.uCct/9/xUPX3zBqLqrjAu0usNRPbyi'