Skip to content

Django Microservices Project using Docker, nginx and Django REST Framework

License

Notifications You must be signed in to change notification settings

aliharby12/django-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-microservices

Django Microservices Project using Docker, nginx and Django REST Framework

Overview

We have 3 docker containers:

  • polls: runs the polls service
  • questions: runs the questions service
  • votes: runs the votes service

Requirements

  • docker
  • docker-compose

Usage

$ docker-compose up

Configuration

Configuration is handled by environment variables, for development purpose you just need to update / add entries in .env file for each service.

Endpoints

to run project services endpoints:

to add a superuser for any service:

$ docker-compose run <container_name> sh -c "python <container_folder>/manage.py createsuperuser"

About

Django Microservices Project using Docker, nginx and Django REST Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published