Add missing configs in idm/api

This commit is contained in:
Jon Besga 2022-09-06 22:31:42 +01:00
parent de770fe061
commit 6ce0c2c879
3 changed files with 24 additions and 0 deletions

View File

@ -65,6 +65,7 @@ http_archive(
http_archive(
name = "org_izihawa_summa",
sha256 = "f0cf66c9cb691adea3a1bf1fcd62d315042d606e901adaa61ec28061499426ff",
strip_prefix = "summa-ab7ea3eba9846094d1792077d578ddb585d8e070",
url = "https://github.com/izihawa/summa/archive/ab7ea3eba9846094d1792077d578ddb585d8e070.tar.gz",
)

View File

@ -0,0 +1,11 @@
from library.configurator import Configurator
def get_config():
return Configurator([
'idm/api/configs/base.yaml',
'idm/api/configs/logging.yaml',
], env_prefix='NEXUS_IDM_API')
config = get_config()

View File

@ -4,11 +4,23 @@ application:
service_name: idm-api
database:
idm:
database: nexus
host:
password:
username:
drivername: postgresql
port: 5432
nexus:
database: nexus
host:
password:
username:
drivername: postgresql
port: 5432
clickhouse:
host:
password:
username:
grpc:
address: 0.0.0.0
port: 82