mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-11-11 22:09:24 +01:00
Merge pull request #50 from jonbesga/master
Add missing configs in idm/api
This commit is contained in:
commit
73f5fd4a06
@ -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",
|
||||
)
|
||||
|
11
idm/api/configs/__init__.py
Normal file
11
idm/api/configs/__init__.py
Normal 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()
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user