# OxSpeak Server Configuration # Copy this file to config.toml and modify the values according to your needs [server] # Server listening address + port (TCP+UDP) bind_addr = "0.0.0.0:7000" # Mode: "debug" or "release" mode = "release" [database] # Database type: "sqlite", "postgres" or "mysql" type = "sqlite" # SQLite configuration (default) # Path to the database file path = "./oxspeak.db" # PostgreSQL configuration (uncomment and configure if type = "postgres") # host = "localhost" # port = 5432 # user = "postgres" # password = "your_password" # dbname = "oxspeak" # sslmode = "disable" # MySQL configuration (uncomment and configure if type = "mysql") # host = "localhost" # port = 3306 # user = "root" # password = "your_password" # dbname = "oxspeak" [jwt] # Secret key for JWT token generation (CHANGE THIS VALUE!) secret = "your_very_secure_jwt_secret_to_change" # Token validity duration in hours expiration = 24 [udp] # UDP server port (voice) port = 9000