Make a docker file and image of project to run locally
Opened this issue · 3 comments
snelzing commented
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.
deeppunster commented
One of the requirements of the docker image is a web server such as a Apache web server.
deeppunster commented
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.
deeppunster commented
- 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: