flyctl
flyctl copied to clipboard
Deploy: host statics from tigris buckets
Change Summary
What and Why: This makes fly deploy support deploying static files to tigris buckets instead of using a web server integrated in the machine's init process. This makes everything a little more efficient, allows serving static files when machines are stopped, and paves the way for further improvements to statics. :)
How: When deploying, if the app has static files defined, it will use (or create) a tigris bucket named after the app. Files are uploaded to this bucket, and a couple versions of file history are kept.
Related to: https://github.com/superfly/tokenizer/pull/23 Depends on: https://github.com/superfly/fly-go/pull/97
Documentation
- [ ] Fresh Produce - (soon)
- [ ] In superfly/docs, or asked for help from docs team - (soon)
- [ ] n/a