Init
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
[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"
|
||||
# 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
|
||||
Reference in New Issue
Block a user