2022-04-08 21:47:09 +00:00
|
|
|
{
|
|
|
|
"db": {
|
2022-04-14 17:14:14 +00:00
|
|
|
"address": "redis://db:6379",
|
|
|
|
"worker_threads": 4
|
2022-04-08 21:47:09 +00:00
|
|
|
},
|
|
|
|
"slug_rules": {
|
|
|
|
"length": 5,
|
|
|
|
"chars": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"
|
|
|
|
},
|
|
|
|
"serve_rules": {
|
2022-04-14 17:14:14 +00:00
|
|
|
"dir": {
|
|
|
|
"Dir": "/etc/lonk/served"
|
|
|
|
},
|
|
|
|
"addr": {
|
|
|
|
"ip": "127.0.0.1",
|
|
|
|
"port": 8080
|
|
|
|
}
|
2022-04-08 21:47:09 +00:00
|
|
|
}
|
|
|
|
}
|