lord-haffi / PulpScience

A Website where people can publish and read articles (or follow projects) about scientifical topics.
GNU General Public License v3.0
3 stars 0 forks source link

Add docker container for production environment of django #5

Closed lord-haffi closed 1 year ago

lord-haffi commented 1 year ago

This PR provides docker files to setup gunicorn (for django), nginx (to serve static files and redirect to gunicorn otherwise) and Postgres as database. These are intended to be used later in production.

Note: For production there are still some settings to change in django but the container structure should run now.