diff --git a/WORKSPACE b/WORKSPACE index f0c1755..91b3ba0 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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", ) diff --git a/idm/api/configs/__init__.py b/idm/api/configs/__init__.py new file mode 100644 index 0000000..339e2f7 --- /dev/null +++ b/idm/api/configs/__init__.py @@ -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() diff --git a/idm/api/configs/base.yaml b/idm/api/configs/base.yaml index 5dfbe12..91819d3 100644 --- a/idm/api/configs/base.yaml +++ b/idm/api/configs/base.yaml @@ -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