Containers run services in an isolated environment, if we deploy our applications using containers then the host system on which these containers are running will not be affected even though the applications running within containers are being hacked.
If you don’t know about how django, wordpress blog are setup using nginx then look into: https://micropyramid.com/blog/configuring-wordpress-blog-as-sub-directory-alongside-django-in-nginx/
Wordpress blog will be running on docker container, using port forwarding we will forward wordpress container’s 80 port to host 8001 port. As usual django will be running on host system on port 8000(we can also run it as container).
Further nginx will be used as proxy server to serve these applications on port 8000 and 8001.
Create a virtual environment and install django, then run it on 8000 port.
By default the wordpress image is configured to server wordpress on port 80. Using publish, forward 8001 port of host to 80 port of wordpress container.
To see running containers execute:
Following configurations assumes:
Django site domain name: micropyramid.com
Django port: 8000
Wordpress served on: micropyramid.com/blog
Wordpress port: 8001
That’s it goto micropyramid.com you should django welcome page, goto micropyramid.com/blog you should see wordpress site.
Django-CRM :Customer relationship management based on Django
Django-blog-it : django blog with complete customization and ready to use with one click installer Edit
Django-webpacker : A django compressor tool
Django-MFA : Multi Factor Authentication
Docker-box : Web Interface to manage full blown docker containers and imagesMore...