Skip to content

mfigueroapa/flask_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Flask App with Postgress, Gunicorn and Nginex

Requirements

  1. Docker version 20.10.8 or greater.
  2. Python 3.

Local Development

  1. Build development container:

       $ docker-compose build
    
  2. Run container

       $ docker-compose up -d
    
  3. Run container

       $ docker-compose up -d --build
    
  4. Run container Create the table:

       $ docker-compose exec web python manage.py create_db
    ```

6. Access db

      ```
         docker-compose exec db psql --username=hello_flask --dbname=hello_flask_dev
         \c hello_flask_dev
         \dt
      ```

About

Dockerizing Flask with Postgres, Gunicorn and Nginx

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors