# 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