Change config model

This commit is contained in:
ashatora
2024-06-10 08:18:09 +03:00
parent 7c0b9325c2
commit 0a0496c02c
5 changed files with 43 additions and 242 deletions

View File

@@ -1,26 +1,3 @@
from bestconfig import Config
class Config:
self_bnd: str = 'bnd127'
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'
rabbit_incoming_queue: str = 'ipd_queue_queries'
rabbit_out_exchange: str = 'ipd_out_itv'
s3_endpoint: str = 'http://10.10.8.83:31006'
s3_key_id: str = 's57'
s3_access_key: str = 'd9MMinLF3U8TLSj'
s3_bucket: str = 'itv'
config = Config()