Then, you can start Docker Compose with this command:
All the values from this Docker Postgres configuration should match the values from the API database configuration mentioned before.
You can read more about docker compose environment variables at this link.
Adding new environments
You can add new environments by adding a new script to the package.json file.
For example, to add a QA environment you can add to the package.json file the following: "start:qa": "cross-env STAGE=qa nest start" in the script section.
This will automatically read environment variables from a .env.qa file.
cross-env is a package to set runtime environment variables on Mac, Windows, and Linux.