Configuring Postgres 'admin' Credentials
The Postgres postgres-r00t-us3rn4m3
admin credentials are defined in the infrastructure Docker descriptor. You need it to do maintenance operations on your database engine, but the application never uses it as an identity.
To Configure Postgres 'admin' Credentials
-
In
deployment/docker/infra/docker-compose.yml
, change thePOSTGRES_PASSWORD
environment variable of thepostgres
service.services: postgres: ... environment: - POSTGRES_PASSWORD=NEW_PASSWORD # <= Change me ...
-
The change needs the container to be recreated to be effective. Run the following command:
docker compose down postgres && docker compose up -d