flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

Deploy: host statics from tigris buckets

Open alichay opened this issue 1 year ago • 0 comments

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

alichay avatar Aug 16 '24 22:08 alichay