From a615b1dae0bc580cc3ec72d5437f6c7736f72435 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Mon, 16 Sep 2019 11:03:17 +0200 Subject: [PATCH] Add example configs --- config/.gitignore | 1 + config/example.json | 11 +++++++++++ config/example.yml | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 config/example.json diff --git a/config/.gitignore b/config/.gitignore index 07b904fda6..6f0660bddf 100644 --- a/config/.gitignore +++ b/config/.gitignore @@ -1 +1,2 @@ ocs.yml +ocs.json diff --git a/config/example.json b/config/example.json new file mode 100644 index 0000000000..576c45d46a --- /dev/null +++ b/config/example.json @@ -0,0 +1,11 @@ +{ + "debug": { + "addr": "0.0.0.0:8280", + "token": "", + "pprof": false + }, + "http": { + "addr": "0.0.0.0:8290", + "root": "/" + } +} diff --git a/config/example.yml b/config/example.yml index 9d3710130d..4afdfd77b4 100644 --- a/config/example.yml +++ b/config/example.yml @@ -1,8 +1,11 @@ --- server: addr: 0.0.0.0:8280 + token: + pprof: false metrics: addr: 0.0.0.0:8290 + root: / ...