Simple Django app featuring steps given in the Django Girls Tutorial
-
Build the image
$ sudo docker build -t someone/django-blog .
-
Run using docker-compose
$ sudo docker-compose up
-
Run on Swarm cluster
-
Initialise the cluster
$ sudo docker swarm init
-
Deploy the stack
$ sudo docker stack deploy --compose-file docker-stack.yml blog-service
-
wait-for-it.sh
is taken from vishnubob/wait-for-it - licensed under MIT License
This repository is licensed under GNU General Public License v3.0. See LICENSE for the full license text.