Skip to content

Django + Postgres + Redis + Celery + Celery Beat + WebSocket server

Notifications You must be signed in to change notification settings

pahaz/docker-compose-django-postgresql-redis-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Development With Docker Compose

Include:

  • Python + Node.js
  • Django
  • WebSocket server
  • Celery worker + Celery beat
  • PostgreSQL
  • Redis

Requirements:

  • Docker >= v1.10.3
  • Docker Compose >= v1.7.1
  • Python >= 3.5

OS X Docker Native Instruction

  1. Start Docker Native
  2. Build images - docker-compose build
  3. Create the database migrations - docker-compose run web python manage.py migrate
  4. Start services - docker-compose up
  5. View in browser http://127.0.0.1:8000/

OS X Docker Machine Instruction

  1. Start new machine - docker-machine create -d virtualbox dev;
  2. Build images - docker-compose build
  3. Create the database migrations - docker-compose run web python manage.py migrate
  4. Start services - docker-compose up -d
  5. Grab IP - docker-machine ip dev - and view in your browser

About

Django + Postgres + Redis + Celery + Celery Beat + WebSocket server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.7%
  • HTML 7.0%
  • JavaScript 3.2%
  • Shell 1.9%
  • CSS 0.2%