All Projects → testdrivenio → Flask On Docker

testdrivenio / Flask On Docker

Licence: mit

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flask On Docker

Dockerized Flask
Dockerized web app using NGINX, Flask and PostgreSQL
Stars: ✭ 119 (-9.16%)
Mutual labels:  flask
Search Libc
Web wrapper of niklasb/libc-database
Stars: ✭ 124 (-5.34%)
Mutual labels:  flask
Pyxtermjs
A fully functional terminal in your browser.
Stars: ✭ 127 (-3.05%)
Mutual labels:  flask
Flask2postman
🚀 Generate a Postman collection from your Flask application
Stars: ✭ 120 (-8.4%)
Mutual labels:  flask
Pytsp
A 2D/3D visualization of the Traveling Salesman Problem main heuristics
Stars: ✭ 122 (-6.87%)
Mutual labels:  flask
Python Resources 2019
A curated list of Python 3 resources, books, websites, tutorials, code challenges
Stars: ✭ 125 (-4.58%)
Mutual labels:  flask
Python Flask Sklearn Docker Template
A simple example of python api for real time machine learning, using scikit-learn, Flask and Docker
Stars: ✭ 117 (-10.69%)
Mutual labels:  flask
Freetakserver
an open source, lightweight Server for connect TAK clients
Stars: ✭ 127 (-3.05%)
Mutual labels:  flask
Jiosaavnapi
An unofficial API for JioSaavn written in Python 3
Stars: ✭ 123 (-6.11%)
Mutual labels:  flask
Flask Calendar
Simple Python & Flask web-calendar
Stars: ✭ 125 (-4.58%)
Mutual labels:  flask
Whoogle Search
A self-hosted, ad-free, privacy-respecting metasearch engine
Stars: ✭ 4,645 (+3445.8%)
Mutual labels:  flask
Sapic
sapic(picbed) - 基于Flask的Web自建图床,可存储到又拍云、七牛云、阿里云OSS、腾讯云COS、GitHub、Gitee等,支持自定义扩展。
Stars: ✭ 123 (-6.11%)
Mutual labels:  flask
Yspider
yspider -- 轻量级爬虫系统
Stars: ✭ 125 (-4.58%)
Mutual labels:  flask
Pyms
Library of utils to create REST Python Microservices
Stars: ✭ 120 (-8.4%)
Mutual labels:  flask
Openuba
A robust, and flexible open source User & Entity Behavior Analytics (UEBA) framework used for Security Analytics. Developed with luv by Data Scientists & Security Analysts from the Cyber Security Industry. [PRE-ALPHA]
Stars: ✭ 127 (-3.05%)
Mutual labels:  flask
30 Days Of Python
Learn Python for the next 30 (or so) Days.
Stars: ✭ 1,748 (+1234.35%)
Mutual labels:  flask
Explore Flask
Source of Explore Flask book
Stars: ✭ 1,595 (+1117.56%)
Mutual labels:  flask
Wa Reader
💬 WA Reader is a platform to read WhatsApp conversations from email text backups in a easy-to-read UI.
Stars: ✭ 130 (-0.76%)
Mutual labels:  flask
Reel2bits
Self-hosted Soundtracks and Podcasts sharing, with ActivityPub federation.
Stars: ✭ 128 (-2.29%)
Mutual labels:  flask
Soul Manga
react + flask + scrapy 构建的单页应用漫画网站
Stars: ✭ 126 (-3.82%)
Mutual labels:  flask

Dockerizing Flask with Postgres, Gunicorn, and Nginx

Want to learn how to build this?

Check out the post.

Want to use this project?

Development

Uses the default Flask development server.

  1. Rename .env.dev-sample to .env.dev.

  2. Update the environment variables in the docker-compose.yml and .env.dev files.

  3. Build the images and run the containers:

    $ docker-compose up -d --build
    

    Test it out at http://localhost:5000. The "web" folder is mounted into the container and your code changes apply automatically.

Production

Uses gunicorn + nginx.

  1. Rename .env.prod-sample to .env.prod and .env.prod.db-sample to .env.prod.db. Update the environment variables.

  2. Build the images and run the containers:

    $ docker-compose -f docker-compose.prod.yml up -d --build
    

    Test it out at http://localhost:1337. No mounted folders. To apply changes, the image must be re-built.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].