[Task]: adapt monolith
This commit is contained in:
parent
aca0ce5361
commit
45d76a8b34
|
@ -129,3 +129,6 @@ __pycache__
|
|||
profile.cov
|
||||
config.conf
|
||||
cmd/stock/config.conf
|
||||
|
||||
# monolith
|
||||
monolith/
|
|
@ -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/"
|
Reference in New Issue