Name: cloud-foundry-static-s3
Owner: Boundless
Description: null
Created: 2017-01-10 18:53:19.0
Updated: 2017-01-11 09:06:39.0
Pushed: 2017-02-15 15:36:48.0
Homepage: null
Size: 3
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Python implementation of a simple Cloud Foundry application that serves static files from an S3 bucket.
The application provides a simple web server that proxies calls to an S3 bucket in order to serve static files from the bucket.
The application automatically serves an index.html
file if found in a folder
and has a simple directory index functionality.
An AWS S3 bucket and AWS credentials to access that bucket.
You can either directly edit the manifest.yml
file or use the deploy.sh
script provided in the main folder, the script replaces the bucket name and the
AWS credentials in the manifest.yml
file and then pushes the application to
PCF:
e: deploy.sh S3_BUCKET_NAME AWS_ACCESS_KEY AWS_SECRET_KEY
Caching is not yet implemented, but can be easily added by using memcached or Redis cloud.