.
This commit is contained in:
39
xmlrpcserver/config.py
Normal file
39
xmlrpcserver/config.py
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
class Config:
|
||||
ret_path: str = 'http://10.10.8.81:9000/'
|
||||
self_bnd: str = 'bnd127'
|
||||
enserver: str = 'http://127.0.0.1:7000/xmlrpc'
|
||||
remote_bnd: str = 'bnd128'
|
||||
|
||||
pg_host: str = '10.10.8.83'
|
||||
pg_port: int = 32101
|
||||
pg_dbname: str = 'db'
|
||||
pg_username: str = 'postgres'
|
||||
pg_password: str = 'Root12345678'
|
||||
|
||||
oodb_host: str = '10.10.8.83'
|
||||
oodb_port: int = 32100
|
||||
oodb_dbname: str = 'db'
|
||||
oodb_username: str = 'postgres'
|
||||
oodb_passwd: str = 'Root12345678'
|
||||
oodb_schema: str = 'documents_src'
|
||||
|
||||
rabbit_conn: str = 'amqp://user:password@10.10.8.83:31005/%2f'
|
||||
rabbit_queue: str = 'ipd'
|
||||
|
||||
ws_rabbit_params: dict = {
|
||||
'host': '10.10.8.83',
|
||||
'port': 31005,
|
||||
'exchange': 'ipd',
|
||||
'user': 'user',
|
||||
'password': 'password',
|
||||
}
|
||||
|
||||
s3_endpoint: str = 'http://10.10.8.83:31006'
|
||||
s3_key_id: str = 's57'
|
||||
s3_access_key: str = 'd9MMinLF3U8TLSj'
|
||||
s3_bucket: str = 'files'
|
||||
|
||||
gql_url: str = 'https://gql.ivazh.ru/graphql'
|
||||
gql_download: str = 'https://gql.ivazh.ru/item/{key}'
|
||||
gql_schema: str = 'pdim'
|
||||
Reference in New Issue
Block a user