Supabase and n8n on different docker networks.
I am running an instance of supabase and n8n running in docker on the same machine, and on separate stacks. I am trying to connect the two, but it seems n8n default gateway is 172.18.0.1, while supabase network is on 172.19.0.1, is there an easy way to change this in either compose file? Any help would be much appriciated.
1 Reply
When you run separate compose files, the containers in each file gets created in separate subnet.
Easier way without any modifications in compose files would be to use docker gateway to connect to container ports which are published on another network like I showed you in the previous conversation. Caveat being that the container port should be published.
Other way which will require modifications in compose file is to use external network.