Question
Using App Platform database env variables
As I was looking into the environment variables documentation for App Platform, I could not understand what is meant by ${my-service.BINDABLE_NAME}
. I’m using a nodejs server and trying to connect to the database on deploy. I tried process.env["database.HOSTNAME"]
as a format but without success. I can’t for the life of me find these variables which are needed at deploy time (After starting the run command).
Thanks for your help
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×