Merge pull request #50 from jonbesga/master

Add missing configs in idm/api
This commit is contained in:
the-superpirate 2022-09-07 11:20:41 +03:00 committed by GitHub
commit 73f5fd4a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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