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

  1. In deployment/docker/infra/docker-compose.yml, change the POSTGRES_PASSWORD environment variable of the postgres service.

    services:
      postgres:
        ...
        environment:
          - POSTGRES_PASSWORD=NEW_PASSWORD # <= Change me
        ...
  2. The change needs the container to be recreated to be effective. Run the following command:

                                     docker compose down postgres && docker compose up -d