This project present an example secure web application using Flask and containerized with Docker. Tech stack used:
- Python
- SQLAlchemy
- Flask
- Docker
- Proxy with Nginx
- SQLite
If one wish to run this application have to do two thing:
-
In project root directory add
.envfile with two specified secrets written like this in the beginning of the file: SECRET_KEY= OTP_SECRET_ENCRYPTION_PASSWORD= -
In nginx/ssl directory add server certificate as file
server.crtand server private key as fileserver.key. The key should be RSA 4096 bit. OpenSSL library might be helpful for that.