This repo is created to speed up the development process and simulate the development environment as close as the production environment.
stack
Angularfor FrontDjangofor APINginxfor reverse proxyPostgresfor DB
- check out this repo locally
cd angular-Django-docker-starterdocker-compose upto create images and spin up containers from images
- Angular is running on
localhost:4200 - Django is running on
localhost:8000
docker-compose up -drun containers in detached modedocker-compose up -d repository-namerun specified containersdocker-compose downto stop running containersdocker exec -it <container-ID> bashdebug a container
graph LR
A(Angular) --> B(nginx)
B --> D(Django)
D --> F(DB)