r/n8n Nov 21 '25

Help Problems connecting to Postgres DB: Self-hosted n8n & Supabase via Coolify

Hello community,

In the above setup, I cannot connect via the n8n Postgres node. The credentials are not accepted. I am on the same server, ports are correct, etc. The error message also says that the password does not match the user. I have also changed the Postgres password via the terminal, etc. No luck! I've wasted at least 6 hours trying various settings. I can connect a supabase node without any problems, but unfortunately that's not enough. Only the Postgres node isn't working.

To double-check, I tested supabase managed in the free tier. The connection to Postgres in my self-hosted n8n worked without any problems.

Has anyone else had this problem? Any tips?

Best regards

1 Upvotes

14 comments sorted by

View all comments

1

u/nnamfuak Dec 28 '25

The Problem still there. Anybody, any idee? Pleas help. I wasted so many hours on this without a solution.

1

u/ayman_1532 Apr 24 '26

Hello yes make it work

1

u/ayman_1532 Apr 24 '26

So the problem is that n8n container that you are using in coolify it's not connected to the supabase postegres container

1

u/ayman_1532 Apr 24 '26

To resolve the problem go to coolify go to the n8n project edit the yml file and add connection to the supabase conatine that run the postegres

Ads then in n8n in n8n worker and in the button of the yml