Add example configs

This commit is contained in:
Thomas Boerger
2019-09-16 11:03:17 +02:00
parent 109bdfa569
commit a615b1dae0
3 changed files with 15 additions and 0 deletions

1
config/.gitignore vendored
View File

@@ -1 +1,2 @@
ocs.yml
ocs.json

11
config/example.json Normal file
View File

@@ -0,0 +1,11 @@
{
"debug": {
"addr": "0.0.0.0:8280",
"token": "",
"pprof": false
},
"http": {
"addr": "0.0.0.0:8290",
"root": "/"
}
}

View File

@@ -1,8 +1,11 @@
---
server:
addr: 0.0.0.0:8280
token:
pprof: false
metrics:
addr: 0.0.0.0:8290
root: /
...