w-a-r-m-inventory-system/Food-Pantry-Inventory

Make a docker file and image of project to run locally

Opened this issue · 3 comments

A Dockerfile needs to be made to build an image of the Inventory system so that it can be ran locally in a container. This ultimately might be expanded later to having the app and its components in containers.

One of the requirements of the docker image is a web server such as a Apache web server.

This may mean one Docker container or perhaps up to three are needed.

  • Database
  • Application (Django)
  • Web Server (e. g. Apache or equivalent)

This is to be decided after someone researches how best to configure Docker.

  • Includes defining the docker containers and loading configurations, code and data
  • Separate docker containers and configuration for PostgreSQL, Nginx, and Django with uWSGI.

Notes:

  • Nginx was selected as the web server
  • uWSGI was selected as the production Django interface to the web server

See also these issues:

  • Issue #203 For configuring Docker for PostgreSQL
  • Issue #204 For configuring Docker for Django and uWSGI
  • Issue #205 For configuring Docker for Nginx