Python App In a Docker (PAID) example prepared for Moscow Python Meetup and Pycon Russia 2016.
First you should provision a Docker host (e.g. with Docker Machine) and install Docker Compose.
Clone this repo
git clone git@github.com:satyrius/paid.git && paidBuild an image
docker-compose buildStart containers with compose
docker-compose up -dRun Django migrations
docker exec web /opt/demo/app/manage.py migrate --no-input
You can create a user
docker exec -it web /opt/demo/app/manage.py createsuperuserAnd check how it works in browser
http://<docker_host_ip>/admin/