Install CLI, run `fly launch` in a directory with a Dockerfile, and it should just work.
Most of our users don't start with a Docker image though, they start with Phoenix. What you're seeing is a little bit of indecisiveness in how we target the docs.
With Phoenix, we can say: run your fullstack Phoenix app on Fly and your users get sub 40ms responses from LiveView. When responses are that fast, you can write less code and still build really dynamic applications. And we can give those devs a really nice launch experience: https://twitter.com/chris_mccord/status/1468998944009166849
We're getting to the point where we can expand this focus. The infrastructure works great for many types of apps. The launch UX could be good for every full stack framework with enough people.
Does this build the Docker image locally and send it to Fly.io, or does it send the whole build context to Fly.io and build the image remotely?
You can control this with "fly deploy --remote-only" and "fly deploy --local-only". Don't use both, it might cause a paradox.
* https://fly.io/docs/getting-started/
Also, I noticed that the Speedrun page a) in step 3, doesn’t tell you to CD into your source code directory before running the launch command to autobuild, and b) is missing links to all the autobuild supported languages
Here's the image: https://hub.docker.com/r/fusionauth/fusionauth-app/tags (supports ARM or x86).
Edit: https://news.ycombinator.com/item?id=30019258 shows, I think, how to do that.
Edit the config so the `internal_port` is right for the app you're running, then `fly deploy -i fusionauth/fusionauth-app` and you should be good.
What about same for .NET? (and I suppose some people would care about Java,Kotlin,Swift ;)
I don’t have to deal with containers with my current infrastructure, and it would be nice if I didn’t just to be able to use Fly—I find containers to be a PITA.
Thanks! I’m super jazzed about Fly :D
We use Dockerfiles kind of like make files. Once you have one that works, you don't need to think about it anymore.
Just curious, which infrastructure is that, and does it have built-in build support for Rust?