6 months ago
Hi, I have a Postgres service with DATABASE_URL variable like this ${{ Postgres.DATABASE_URL }}. This contains the internal connection url of PostgreSQL. When I try to add this to my Node JS application service, it shows an empty string and due to this when my application is deployed, it crashes instantly. Looking forward to any suggestion on how to tackle this. Thank you.
Pinned Solution
6 months ago
Have you deployed Postgres DB in your same project? Is the name of the instance "Postgres"?
4 Replies
6 months ago
Have you deployed Postgres DB in your same project? Is the name of the instance "Postgres"?
vibepanda
Have you deployed Postgres DB in your same project? Is the name of the instance "Postgres"?
6 months ago
Ohhh... I see it now. I deployed the DB in another project in the same workspace. I have to make the service in the same project. Thank you for the help.
vibepanda
Have you deployed Postgres DB in your same project? Is the name of the instance "Postgres"?
6 months ago
One thing... Can I use node application's private domain as api url in react application?
Status changed to Open brody • 6 months ago
Status changed to Solved devops-qrltd • 6 months ago
Status changed to Solved brody • 6 months ago