Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand multi-server docs, especially networking? #106

Open
crrobinson14 opened this issue Dec 17, 2024 · 1 comment
Open

Expand multi-server docs, especially networking? #106

crrobinson14 opened this issue Dec 17, 2024 · 1 comment

Comments

@crrobinson14
Copy link

I'd be happy to help contribute documentation on what I'm about to ask (I write quite a bit for a living), but need some guidance first on the most current/recommended way to communicate between two servers. Suppose you have Postgres on server A and an app on server B? What's the easiest/fastest/most bulletproof "Coolify way" to set this up?

Cloudflare tunnels are an option but the documentation seems to mostly focus on getting remote access e.g. to a server on a home or private LAN that you want to get to elsewhere. The docs don't really cover server-to-server comms.

Traefik as a proxy can do all kinds of wonderful things but at least IMO it's a more advanced concept for most. I'm not sure this is the best place for a newbie to start...

Obviously you have SaaS options like if you're in AWS cloud, you have the usual VPC mechanisms you would have with any other app. But they're vendor-specific and don't apply to all the cases where you can use Coolify.

Tailscale is an interesting option - it's really easy to set up, and addresses both server-to-server and admin-workstation-to-server needs. But it's not mentioned anywhere in the docs yet, so I'm not sure if it's really what the core maintainers want to recommend.

Ideally, what I'd like to achieve (and be happy to help document) is the simplest path to:

  1. Set up Coolify on two servers.
  2. Deploy app on A and postgres on B.
  3. Add XYZ config, resource, or extra package and allow A to securely find and connect to B, a-la AWS Service Discovery, the way Docker Compose "services" work, or similar.

Any input would be appreciated. Thanks!

@crrobinson14
Copy link
Author

Just trying to keep this alive, it looks like the Docker Swarm option plus Cloudflare tunnels might be the best way to start for a lot of cases? It's not trivial to set up but...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant