Skip to content

Print env vars resolution summary at the start of a deployment #1481

@raphaeltm

Description

@raphaeltm

It is often the case that, when deploying, we expect an env var to be one value, but it is actually another. When we start a deployment, can we print a summary of all of the env vars how they are derived?

For example:

    environment:
      DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=${SSL_MODE:-disable}

By default, for SSL_MODE, we should see something like "resolved to disable from default".
If SSL_MODE is set to require using defang config set SSL_MODE=require, we should see something like "resolved to *** resolved from config"

Metadata

Metadata

Labels

composeDocker Compose support

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions