Files
kouiz/.env.dist
2025-06-10 21:09:58 +02:00

25 lines
982 B
Plaintext

# See internal/config for more configuration parameters
# Log level (here DEBUG)
KOUIZ_LOGGER_LEVEL=-4
# Gitea auth provider (disabled if empty)
KOUIZ_AUTH_PROVIDERS_GITEA_KEY=
KOUIZ_AUTH_PROVIDERS_GITEA_SECRET=
KOUIZ_AUTH_PROVIDERS_GITEA_AUTH_URL=https://forge.cadoles.com/login/oauth/authorize
KOUIZ_AUTH_PROVIDERS_GITEA_TOKEN_URL=https://forge.cadoles.com/login/oauth/access_token
KOUIZ_AUTH_PROVIDERS_GITEA_PROFILE_URL=https://forge.cadoles.com/login/oauth/userinfo
# HTTP session keys (list of 32 characters strings, should be modified in production)
KOUIZ_HTTP_SESSION_KEYS=abcdefghijklmnopqrstuvwxyz000000
# LLM Provider
# Example with ollama:
KOUIZ_LLM_PROVIDER_BASE_URL="http://localhost:11434/api/"
KOUIZ_LLM_PROVIDER_MODEL="llama3.1:8b"
# Example with OpenRouter
# KOUIZ_LLM_PROVIDER_NAME=openrouter
# KOUIZ_LLM_PROVIDER_KEY=<your_api_key>
# KOUIZ_LLM_PROVIDER_BASE_URL=https://openrouter.ai/api/v1/
# KOUIZ_LLM_PROVIDER_MODEL=meta-llama/llama-3.3-70b-instruct:free