T
Twenty2w ago
Nakul

isURL validation error during prod docker setup

Hi everyone I am facing project startup issue during docker setup for production. The project is throwing error property PG_DATABASE_URL has failed the following constraints: isUrl. I have tried multiple combination changing docker file, changing env, removing host but it still remains the same. The final URL i get in docker echo is postgres://postgres:zestima9696@db:5432/default Any help with this would be really appreciated. Thanks
No description
No description
No description
2 Replies
Taldres
Taldres2w ago
Hey @Nakul did you use a different password than the one in your screenshot? I encountered the same error when I used special characters. https://discord.com/channels/1130383047699738754/1308392027964047390
Nakul
NakulOP2w ago
Hey @Taldres No i am not using different password. I've figured out the issue I was building PG_DATABSE_URL from env directly. It was configured in server service of docker-compose.yml not, but not configured correctly in worker service. Added the same there and it started up Thanks for your attention 🙂

Did you find this page helpful?