Configuration moved to JSON and validated by JSON Schema
This commit is contained in:
parent
2c5b63fcf5
commit
754c37a373
21 changed files with 300 additions and 103 deletions
27
config.json
Normal file
27
config.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"general" : {
|
||||
"debug": true,
|
||||
"lang": "fr",
|
||||
"db_url": "sqlite:///db.sqlite"
|
||||
},
|
||||
"http": {
|
||||
"root_url": "http://localhost:8100",
|
||||
"host": "127.0.0.1",
|
||||
"port": 8100
|
||||
},
|
||||
"security": {
|
||||
"salt": "BRRJRqXgGpXWrgTidBPcixIThHpDuKc0",
|
||||
"secret": "Uqca5Kc8xuU6THz9",
|
||||
"private": true
|
||||
},
|
||||
"rss": {
|
||||
"proto": "http",
|
||||
"file": "comments.xml"
|
||||
},
|
||||
"zmq": {
|
||||
"active": true,
|
||||
"host": "127.0.0.1",
|
||||
"pub_port": 7701,
|
||||
"sub_port": 7702
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue