update database configuration in .env and docker-compose, add backend-db service
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user