Django Gunicorn Nginx Docker

Ready-To-Deploy Django application with docker compose
Alternatives To Django Gunicorn Nginx Docker
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Cheatsheets34,597
8 days ago88mitJavaScript
👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
Plane16,300
14 hours ago217agpl-3.0TypeScript
🔥 🔥 🔥 Open Source JIRA, Linear and Height Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
Cookiecutter Django10,863
115 hours ago5January 15, 201895bsd-3-clausePython
Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
Recipes4,339
a day ago264otherHTML
Application for managing recipes, planning meals, building shopping lists and much much more!
Linkding3,994
10 days ago74mitPython
Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
Viper3,281
a day ago3bsd-3-clause
Redteam operation platform with webui 图形化红队行动辅助平台
Gerapy3,075
85 days ago49July 19, 202360mitPython
Distributed Crawler Management Framework Based on Scrapy, Scrapyd, Django and Vue.js
Ownphotos2,687
10 months ago90mitJupyter Notebook
Self hosted alternative to Google Photos
Django React Redux Base2,619
2 years ago23mitJavaScript
Seedstars Labs Base Django React Redux Project
Shynet2,555
17 hours ago40apache-2.0Python
Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.
Alternatives To Django Gunicorn Nginx Docker
Select To Compare


Alternative Project Comparisons
Readme

Ready-To-Deploy Django, gunicorn, NGINX, Docker Application

Getting a Django 4.2 app up in no time. In this project, gunicorn is used as a WSGI. NGINX is used as a reverse proxy server.

Premise

I have seen one too many Dockerfile with unreadable code. Many code base out there have Docker setup so elaborately that it is unmodifiable. Here, I try to simplify Dockerfile and Docker Compose file as much as possible, so that more than one developer in a team will understand how it works.

For Development

In the root level of this repository, copy the file named django.env.example to django.env and adjust file variables

cp django.env.example django.env

Build code with docker compose

docker-compose build

Run the built container

docker-compose up

Deploy as a Simple Application

Here is a script to install docker and docker-compose. After running these commands, exit from ssh and reconnect to the instance. This can be used in AWS Launch Config

#!/bin/bash
sudo yum -y update
sudo yum install -y docker
sudo usermod -a -G docker $(whoami)
sudo service docker start
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

For Ubuntu

sudo apt update
sudo apt install -y docker.io
sudo usermod -a -G docker $(whoami)
sudo service docker start
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Popular Docker Projects
Popular Django Projects
Popular Virtualization Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Docker
Deploy
Django
Dockerfile
Nginx
Docker Compose
Django Application