genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

[Task]: adapt monolith

This commit is contained in:
mlabusch 2017-05-03 11:19:33 +02:00
parent aca0ce5361
commit 45d76a8b34
2 changed files with 27 additions and 0 deletions

3
.gitignore vendored
View File

@ -129,3 +129,6 @@ __pycache__
profile.cov
config.conf
cmd/stock/config.conf
# monolith
monolith/

24
config_monolith.conf Normal file
View File

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