Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by the source. Read the full original article here →
This is something of a cheatsheet for minimal but efficient and safe Django dockerization for deploy on a VPS using nothing but docker-compose . My belief is that dockerization must be handled as early as possible for a web server project.
Of course, tweak any of these to your liking and needs of your project.
At last, all is done and we are ready to deploy our project to a VPS of our choosing! To do that, we need to deliver the code to the server (either a direct git clone or just a project folder upload) and configure it in the .sampleproject_env file, like this: And run docker-compose up -d to launch our project in detached mode.
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com