pinakes/pinakes.toml.example
NotAShelf 6a73d11c4b
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I4a6b498153eccd5407510dd541b7f4816a6a6964
2026-01-31 15:20:30 +03:00

46 lines
938 B
Text

# Pinakes Configuration
# Copy this file to pinakes.toml and adjust values as needed.
[storage]
# Storage backend: "sqlite" or "postgres"
backend = "sqlite"
[storage.sqlite]
# Path to the SQLite database file
path = "pinakes.db"
# Uncomment and configure for PostgreSQL backend:
# [storage.postgres]
# host = "localhost"
# port = 5432
# database = "pinakes"
# username = "pinakes"
# password = "secret"
# max_connections = 10
[directories]
# Root directories to scan for media files
roots = [
"/home/user/Music",
"/home/user/Documents",
"/home/user/Videos",
]
[scanning]
# Watch directories for changes
watch = true
# Polling interval in seconds (used as fallback when native fs events unavailable)
poll_interval_secs = 300
# File patterns to ignore during scanning
ignore_patterns = [
".*",
"node_modules",
"target",
".git",
]
[server]
# Server bind address
host = "127.0.0.1"
# Server port
port = 3000