feat: use different creds for api and consumer with restrictive rights
This commit is contained in:
parent
611600c2d8
commit
11b7c14dc7
7 changed files with 16 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ log = logging.getLogger(__name__)
|
|||
_MIN_CONN = 1
|
||||
_MAX_CONN = 10
|
||||
|
||||
DB_URI = os.getenv("DATABASE_URI", "postgresql://simugaz:simugaz@db/simugaz")
|
||||
DB_URI = os.getenv("DATABASE_URI", "postgresql://user:password@db/simugaz")
|
||||
|
||||
|
||||
@lru_cache(maxsize=1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue