26 lines
501 B
TOML
26 lines
501 B
TOML
[network]
|
|
# IP address to bind to
|
|
host = "0.0.0.0"
|
|
# hostv6 = "::"
|
|
# TCP and UDP port can be the same
|
|
# HTTP port
|
|
tcp_port = 8080
|
|
# Voice/Video port
|
|
udp_port = 8080
|
|
|
|
[database]
|
|
# DSN for database
|
|
# SQLite
|
|
url = "sqlite://oxspeak.db"
|
|
#url = "sqlite::memory:"
|
|
# PostgreSQL
|
|
# url = "postgresql://user:passwd@localhost:5432/db_name"
|
|
# MySQL
|
|
# url = "mysql://user:passwd@localhost:3306/db_name"
|
|
|
|
[jwt]
|
|
secret = "changeme"
|
|
# Duration in seconds
|
|
duration = 86400 # 1 day
|
|
refresh_duration = 1296000 # 15 days
|