mirror of
https://github.com/house-of-vanity/yggman.git
synced 2025-10-23 20:59:08 +00:00
first commit
This commit is contained in:
24
config.example.toml
Normal file
24
config.example.toml
Normal file
@@ -0,0 +1,24 @@
|
||||
[server]
|
||||
bind_address = "0.0.0.0"
|
||||
port = 8080
|
||||
workers = 4
|
||||
|
||||
[database]
|
||||
url = "sqlite://yggman.db"
|
||||
max_connections = 10
|
||||
connect_timeout = 30
|
||||
acquire_timeout = 30
|
||||
idle_timeout = 600
|
||||
max_lifetime = 3600
|
||||
|
||||
[nodes]
|
||||
max_peers_per_node = 3
|
||||
topology_update_interval = 60
|
||||
|
||||
[modules.web_api]
|
||||
enabled = true
|
||||
port = 8081
|
||||
|
||||
[modules.web_ui]
|
||||
enabled = true
|
||||
static_dir = "./static"
|
Reference in New Issue
Block a user