When using the postgresql service in the docker-compose.yml setup, you can configure the database credentials and name using the following environment variables:
POSTGRES_DB: The name of the database to create.POSTGRES_USER: The username for the database.POSTGRES_PASSWORD: The password for the database.
Default values in the provided configuration are cloudify_db, cloudify, and cloudify respectively.
postgresql:
container_name: postgresql
image: postgres
environment:
POSTGRES_DB: cloudify_db
POSTGRES_USER: cloudify
POSTGRES_PASSWORD: cloudify