From 45d76a8b34df83bcefc9088e0863bc33c0d8a7ec Mon Sep 17 00:00:00 2001 From: mlabusch Date: Wed, 3 May 2017 11:19:33 +0200 Subject: [PATCH] [Task]: adapt monolith --- .gitignore | 3 +++ config_monolith.conf | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 config_monolith.conf diff --git a/.gitignore b/.gitignore index a38df26..b5012c1 100644 --- a/.gitignore +++ b/.gitignore @@ -129,3 +129,6 @@ __pycache__ profile.cov config.conf cmd/stock/config.conf + +# monolith +monolith/ \ No newline at end of file diff --git a/config_monolith.conf b/config_monolith.conf new file mode 100644 index 0000000..b921426 --- /dev/null +++ b/config_monolith.conf @@ -0,0 +1,24 @@ +# bind the webserver to a dynamic ports +webserver_bind = ":65000" +webroot = "webroot" + +good_availablity_template = "contrib/good_availablity.svg" + +[database] +type = "sqlite3" +# logging = true +connection = "file::memory:?mode=memory&cache=shared" +# For Master-Slave cluster +# read_connection = "" + +[good_release] +every = "5m" +after = "30m" + +[cache_clean] +every = "5m" +after = "30m" + +[microservice_dependencies] +product = "http://localhost:8080/api-test/product/%d/" +permission = "http://localhost:8080/api-test/session/%s/%d/"