# Peerman configuration
# Copy this file to config.toml and edit as needed.

[server]
# Address to listen on
listen_addr = "0.0.0.0:3000"

[storage]
# Path to SQLite database
db_path = "data/peerman.db"

[logging]
# trace, debug, info, warn, error
level = "info"

[auth]
# Admin login credentials
username = "admin"
password = ""
# JWT signing secret — leave empty to auto-generate on startup
jwt_secret = ""

[cluster]
# node_name = ""            # empty = standalone mode
# cluster_key = ""          # shared secret for inter-node gRPC
# peer_nodes = ["1.2.3.4:3000", "5.6.7.8:3000"]  # initial bootstrap peers (public IPs)
# probe_interval_secs = 15  # health check interval (default 60)
# sync_interval_secs = 30   # node list exchange interval (default 30)
