electric icon indicating copy to clipboard operation
electric copied to clipboard

Update docker-compose.yaml

Open LeonAlvarez opened this issue 1 year ago • 4 comments

With current docker-compose without ssl mode enabled, electric wont connect to local postgresql started by docker-compose. This PR disable sslmode in the url

 [warning]  Database connection in lock_connection mode failed: ssl not available

LeonAlvarez avatar Oct 02 '24 09:10 LeonAlvarez

Deploy Preview for electric-next ready!

Name Link
Latest commit d5adf61cf0fa3280ffe88e711eaf87719b447ef7
Latest deploy log https://app.netlify.com/sites/electric-next/deploys/66fd11ac91067500081e12c9
Deploy Preview https://deploy-preview-1781--electric-next.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Oct 02 '24 09:10 netlify[bot]

Huh interesting. I haven't seen this issue. What's your os? I'm on Mac.

KyleAMathews avatar Oct 02 '24 10:10 KyleAMathews

I'm on mac too. Someone else was also reporting this on dc. So thought might be good to do the PR maybe you have something to automatically set ssl? like some magic-dns

LeonAlvarez avatar Oct 02 '24 10:10 LeonAlvarez

This didn't use to be required until very recently, it's a new regression. I have detailed the problem in #1792.

Once it is fixed, you won't be required to include sslmode=disable in DATABASE_URL as before.

alco avatar Oct 03 '24 14:10 alco

I'm just going to merge this for now as otherwise people are failing. @alco please revert once you've got your fix in.

KyleAMathews avatar Oct 06 '24 00:10 KyleAMathews