[x ] bug report -> please search issues before submitting
Issue description
I'm trying to run database migration scripts on a Postgresql database bound to my container app. My setup service and main container use exactly the same code to retrieve and parse the postgres connection string. I'm able to connect to and modify the database from the service itself, but when trying to connect in the init container I receive "connection refused".
Followup from #1106 - environment variable is now available but doesn't seem to work.
Steps to reproduce
As above - can provide further info if required (replicated using basic ASP.NET Service container & .NET Console App / DBUP init container).
Expected behavior Able to connect to postgres and run migrations in init container
Actual behavior Receive error "connection refused"
This issue is a: (mark with an x)
Issue description
I'm trying to run database migration scripts on a Postgresql database bound to my container app. My setup service and main container use exactly the same code to retrieve and parse the postgres connection string. I'm able to connect to and modify the database from the service itself, but when trying to connect in the init container I receive "connection refused".
Followup from #1106 - environment variable is now available but doesn't seem to work.
Steps to reproduce
As above - can provide further info if required (replicated using basic ASP.NET Service container & .NET Console App / DBUP init container).
Expected behavior Able to connect to postgres and run migrations in init container
Actual behavior Receive error "connection refused"
Additional context
Deploying using bicep: