mirror of
https://github.com/nexus-stc/hyperboria
synced 2025-01-11 11:16:10 +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(
|
http_archive(
|
||||||
name = "org_izihawa_summa",
|
name = "org_izihawa_summa",
|
||||||
|
sha256 = "f0cf66c9cb691adea3a1bf1fcd62d315042d606e901adaa61ec28061499426ff",
|
||||||
strip_prefix = "summa-ab7ea3eba9846094d1792077d578ddb585d8e070",
|
strip_prefix = "summa-ab7ea3eba9846094d1792077d578ddb585d8e070",
|
||||||
url = "https://github.com/izihawa/summa/archive/ab7ea3eba9846094d1792077d578ddb585d8e070.tar.gz",
|
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
|
service_name: idm-api
|
||||||
database:
|
database:
|
||||||
idm:
|
idm:
|
||||||
|
database: nexus
|
||||||
|
host:
|
||||||
|
password:
|
||||||
|
username:
|
||||||
drivername: postgresql
|
drivername: postgresql
|
||||||
port: 5432
|
port: 5432
|
||||||
nexus:
|
nexus:
|
||||||
|
database: nexus
|
||||||
|
host:
|
||||||
|
password:
|
||||||
|
username:
|
||||||
drivername: postgresql
|
drivername: postgresql
|
||||||
port: 5432
|
port: 5432
|
||||||
|
clickhouse:
|
||||||
|
host:
|
||||||
|
password:
|
||||||
|
username:
|
||||||
grpc:
|
grpc:
|
||||||
address: 0.0.0.0
|
address: 0.0.0.0
|
||||||
port: 82
|
port: 82
|
||||||
|
Loading…
Reference in New Issue
Block a user