Files
sjcode/server/config.toml.example
T
2026-09-12 00:35:26 +02:00

25 lines
664 B
TOML

# sjcode daemon configuration
# Copy this file to config.toml and adjust the values.
[server]
# Port the daemon listens on (clients connect to this port).
port = 8420
# Bind address. Keep 127.0.0.1 unless you want LAN access.
host = "127.0.0.1"
[ollama]
# Where the daemon reaches the local ollama API.
base_url = "http://127.0.0.1:11434"
# Default model used when a client does not request a specific one.
model = "llama3.2"
[database]
# SQLite file for user accounts. Relative to the project root.
path = "sjcode.db"
[limits]
# How many minutes of AI usage each role gets per day.
# "user" is the default role assigned to new accounts.
user = 120
admin = -1