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/"