DSdatsme
DSdatsme
RRailway
Created by DSdatsme on 6/13/2024 in #✋|help
secret() value keeps on changing on UI reload.
I have a nodejs project that connects to a postgres container. I use ${{secret()}}to randomly generate a postgres user password. Which works fine for postgres. Lets say app fails and I refresh the UI and click redeploy my nodejs app. The UI reload re-generates a new secret value but the postgres was deployed with old secret. So I get invalid password related errors in my app.
5 replies