/fod

Flask + Docker

Primary LanguagePythonMIT LicenseMIT

Dockerizing Flask with Postgres, Gunicorn, and Nginx

Startup

  • make sure to put your certificates in ./certificates
-rw-r--r--  cert.pem
-rw-------  privkey.pem
  • then
. ./init.sh
prod.sh up prod build
  • visit: https://localhost

  • hint: use tab after typing prod.sh - some predefined util scripts/commands available

    • for example: prod.sh hot_update puts things into web image and restarts it - updates available pronto