Giter VIP home page Giter VIP logo

alexiv-tn65 / django-gunicorn-nginx-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from by-sabbir/django-gunicorn-nginx-docker

0.0 0.0 0.0 1.94 MB

Docker helps us package container based applications like python, django, flask, nginx, gunicorn, PostgreSQL, MySQL as a deployment ready system. We will, in this article, deploy a django app with nginx, gunicorn, PostgreSQL in their separate docker. We will package the whole project with docker-compose.

Home Page: https://sabbir.dev/article/fd30b0a3-eb3d-4b66-bc88-cdb463adbd5c/

Dockerfile 2.01% Python 80.24% HTML 17.75%

django-gunicorn-nginx-docker's Introduction

Dockerize Django along with Nginx and PostgreSQL

Docker will make your life a bit easier when it comes to deployment and CI/CD. This method can be used to deploy most stacks with Nginx and Postgres, ie. Flask, django-rest, FastAPI, NodeJS...

Installation

Your system must have docker-compose to follow along.

docker-compose build
docker-compose up

You would be able to access

localhost:8008

Usage

stop the container

docker-compose down

drop to django shell

docker-compose exec web python manage.py shell

more at here

Contributing

You can do whatever you want with this repo.

django-gunicorn-nginx-docker's People

Contributors

by-sabbir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.