comocheng / kineticmodelssite

a django site for kinetic models
4 stars 9 forks source link

Containerize with Docker #131

Closed kiancm closed 3 years ago

kiancm commented 3 years ago

This change configures a docker application for both development and production. The application consists of a postgres database, a django application running on gunicorn, and an nginx server acting as a reverse proxy for hosting static and media files. With docker setup on a local machine, a full os-agnostic development environment can be created with just a few shell commands. This docker application is also production ready, requiring just a few environment variables to be set in the production environment.

rwest commented 3 years ago

Well done getting the tests to work

rwest commented 3 years ago

Looks very promising. But automated tests failed: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "./bin/test.sh": permission denied: unknown

rwest commented 3 years ago

👏