Skip to content

🚀 Docker (Non root) with Flask, OpenPyXL, MongoDB, uWSGI, Nginx

Notifications You must be signed in to change notification settings

blry/docker-flask-mongodb-uwsgi-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-flask-mongodb-uwsgi-nginx

Author Nginx stable

Description

docker-flask-mongodb-uwsgi-nginx - is a Flask project with a whole Docker stack on a set of components listed below.

  • To extract data from provided Excel files.
  • To start an API web-service on port 8080 (use flask) that will return the stored data.

Installation

  1. Create mongodb_root_password file in ./docker/shared/secrets/.

    E.g.: $ echo "S3cR3TPassword" >> docker/shared/secrets/mongodb_root_password

  2. docker-compose up

  3. Done! You can access: http://127.0.0.1:8080/data?week_start=2016-08-10&week_end=2017-08-20

Note:

  • Put new *.xlsx files under ./parser/xlsx folder
  • Configure .env if needed

Docker contents

A simple example

asciicast

Contributing

Do not hesitate to improve this repository, creating your PR on GitHub with a description which explains it.

Ask your question on [email protected].

About

🚀 Docker (Non root) with Flask, OpenPyXL, MongoDB, uWSGI, Nginx

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published