update database configuration in .env and docker-compose, add backend-db service

This commit is contained in:
2025-10-27 03:18:27 +03:00
parent 06bef25e58
commit c3c694bf4d
3 changed files with 44 additions and 7 deletions

View File

@ -7,4 +7,12 @@ redis:
db: 0
hydra:
host: https://oauth2.logidex.ru/admin
host: https://oauth2.logidex.ru/admin
db:
host: backend-db
port: 5432
user: postgres
password: postgres
dbname: logidex-id

View File

@ -1 +1 @@
DSN=postgres://postgres:postgres@db:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
DSN=postgres://postgres:postgres@hydra-db:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4