nucleuscloud / neosync

Open source data anonymization and synthetic data orchestration for developers. Create high fidelity synthetic data and sync it across your environments.
https://www.neosync.dev
MIT License
3.06k stars 107 forks source link

bare metal and fly.io #496

Open gedw99 opened 10 months ago

gedw99 commented 10 months ago

Is your feature request related to a problem?

docs refer to baremetal and would like this.

Describe the solution you'd like

I like to use Fly.io, which uses a single dockerFile.

https://fly.io/docs/app-guides/multiple-processes/

So what we do is as part of the Docker boiler, you stuff in your binaries, which in neosync 2 or 3 I think. Fly has the concept of Apps, and it will boost each App ( which is a binary ).

The other way that we can use Overwind, to run the binaries outside docker or inside docker.

https://github.com/DarthSim/overmind

Describe alternatives you've considered

Additional context

https://fly.io/docs/hands-on/install-flyctl/ is golang.

Fly can scale to zero and also scale per region https://fly.io/docs/apps/scale-count/#:~:text=Scale%20an%20app%27s%20regions,its%20changes%20across%20these%20regions.

Thank you for your feature request – we love each and every one!

gedw99 commented 10 months ago

Here is a decent example:

https://github.com/maxpert/marmot-pocketbase-flyio/blob/main/Dockerfile

https://github.com/fubhy/temporal-fly

evisdrenova commented 10 months ago

hey @gedw99 thanks for submitting this. We'll take a look and get to you with an update.