No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
build

README.md

Flask Upload Demo: Docker Image

Build Status Docker Pulls License

Overview

This is an example project that demonstrates how to package the Flask Upload Demo App in a Docker container.

Branches

Each branch demonstrates a slightly different scenario:

  • master: Demonstrates basic packaging of the demo app.
  • nginx: Demonstrates a more realistic real-world architecture where nginx proxies traffic for the app.
  • gcsfuse: Demonstrates how to mount a Google Cloud Storage bucket from within the Docker container (assumes the container runs in a Google Compute Engine VM with read/write permissions to Google Cloud Storage).

To run

Basic version

docker run \
  --detach \
  --publish 80:5000 \
  mtlynch/flask-upload-demo:latest

App will be available at http://localhost/.

Nginx version

docker run \
  --detach \
  --publish 80:80 \
  mtlynch/flask-upload-demo:nginx

App will be available at http://localhost/.