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
- Start Docker Native
- Build images -
docker-compose build
- Create the database migrations -
docker-compose run web python manage.py migrate
- Start services -
docker-compose up
- View in browser http://127.0.0.1:8000/
- Start new machine -
docker-machine create -d virtualbox dev;
- Build images -
docker-compose build
- Create the database migrations -
docker-compose run web python manage.py migrate
- Start services -
docker-compose up -d
- Grab IP -
docker-machine ip dev
- and view in your browser