Start your All-Access Pass to unlock this challenge
When deploying with platform.sh, how can you determine what value the DATABASE_URL env var should be set to?
DATABASE_URL
After configuring the database credentials inside .platform/services.yaml, you can use those to create the correct string.
.platform/services.yaml
This is set automatically by adding a proper "relationship".
Because the database server is internal, the DATABASE_URL should be set to postgres://main:main@database.internal:5432/main
postgres://main:main@database.internal:5432/main