Files
Hy2026/.env.example

40 lines
1.2 KiB
Bash

# TarninaHub — backend runtime configuration example.
# Copy to `.env` (not tracked) or provide as environment variables.
# Never commit real secrets.
ASPNETCORE_ENVIRONMENT=Production
ASPNETCORE_URLS=http://+:8080
# Auth — JWT signing key (min. 32 chars). REQUIRED in Production; never commit a real value.
# Auth__SigningKey=
# Auth__Issuer=tarninahub
# Auth__Audience=tarninahub
# Auth__TokenLifetimeMinutes=60
# SurrealDB — embedded RocksDB by default.
SurrealDb__Namespace=hubmi
SurrealDb__Database=hubmi
SurrealDb__DataDirectory=data
# SurrealDB — remote mode (optional; leave DataDirectory unused when set).
# SurrealDb__RemoteUrl=ws://127.0.0.1:8010/rpc
# SurrealDb__Username=
# SurrealDb__Password=
# LLM (F-8, matchmaking) — runtime secret only.
# LLM__ApiKey=
# LLM provider/cost control (optional; disabled by default -> offline template rationales).
# Llm__Enabled=false
# Llm__Provider=openai
# Llm__BaseUrl=https://api.openai.com/v1
# Llm__Model=gpt-4o-mini
# Llm__MaxTokens=256
# Llm__MaxRequestsPerMinute=30
# Llm__TimeoutSeconds=20
# Observability (optional).
# Logging__LogLevel__Default=Information
# OTEL_EXPORTER_OTLP_ENDPOINT=
# OTEL_SERVICE_NAME=tarninahub