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

fly.io deploy for global HA setup #391

Open
gedw99 opened this issue May 23, 2024 · 3 comments
Open

fly.io deploy for global HA setup #391

gedw99 opened this issue May 23, 2024 · 3 comments

Comments

@gedw99
Copy link

gedw99 commented May 23, 2024

makes it easy for devs and site owners to deploy.

Fly.io does NOT run docker compose, but instead runs docker files.

this is a working Mongo DB HA setup: https://github.com/lubien/mongo-template

this seems to work better: https://github.com/bogordesaincom/mongodb-fly so far..

Then we just run nodes for emissary. Fly.io will scale them to zero as needed and also globally load balance them for us.

https://github.com/superfly/flyctl is the golang control that we can download locally and then we can reply the 2 dockers and we have a globally fault tolerant setup.

@benpate
Copy link
Collaborator

benpate commented May 23, 2024

I'm not familiar with fly.io, but it looks like a great solution. I have added digital ocean configs to Emissary, and would love to do the same for other providers if that helps people to get running. The end goal would be giving hosting companies the ability to 1-click install Emissary the same way they do with WordPress today.

There is a "production" Dockerfile in /.docker/prod-dockerfile that I'm currently using with Digital Ocean. (Incedentally, this includes the auto-download of ffmpeg, so there's that 🥸)

Would this file also work with fly.io? Or, are there other things we'd need to do to make it work with them?

@gedw99
Copy link
Author

gedw99 commented May 24, 2024

Looks like it will work

easy to try . Just install the flyctl.

I will try to find time but it’s so easy you could also on your own too.

@gedw99
Copy link
Author

gedw99 commented May 24, 2024

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

2 participants