wger-project / wger

Self hosted FLOSS fitness/workout, nutrition and weight tracker
https://wger.de
GNU Affero General Public License v3.0
3.2k stars 585 forks source link

Document S3/CDN usage #461

Open speshak opened 4 years ago

speshak commented 4 years ago

460 includes features that allow hosting static assets in S3. I added this to scratch a personal itch and it probably isn't well documented enough. I've also got a CloudFormation template that sets up the required AWS resources that probably should be included here to lower the barrier to entry.

speshak commented 4 years ago

I've at least got the CFN template committed here: https://github.com/speshak/wger/blob/s3-document/extras/aws/wger-cloudfront.template I'll get the docs written up soon.

rolandgeider commented 4 years ago

Withough knowing anything about CF templates... but that thing is huge! Does it need all that boilerplate?

speshak commented 4 years ago

It certainly could be accomplished with less. I'm a bit of a stickler for making everything comply with best-practices so it got fairly verbose in order to keep the permissions tight. (It doesn't help that I spend a lot of my day job writing these templates, so I've gotten pretty desensitized to the wall of YAML that results)