All Projects → testdrivenio → Django On Docker

testdrivenio / Django On Docker

Licence: mit
Dockerizing Django with Postgres, Gunicorn, and Nginx

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Django On Docker

Knboard
Kanban boards with React & Django.
Stars: ✭ 470 (-8.91%)
Mutual labels:  django
Django Cheat Sheet
A cheat sheet for creating web apps with the Django framework.
Stars: ✭ 490 (-5.04%)
Mutual labels:  django
Ops
基于centos6+python3.6+django2+ansible2.4+celery4.2 运维管理系统,目前实现功能:用户和用户组管理、资产管理、集成ansible2.4、简易堡垒机(主机分配支持rdp以及vnc、用户分配、文件上传下载、配置禁用命令清单、操作录像回放功能)、CI/CD(支持git仓库和svn仓库)、数据库管理(一部分)、celery任务编排、知识库及文件共享
Stars: ✭ 502 (-2.71%)
Mutual labels:  django
Django Ordered Model
Get your Django models in order
Stars: ✭ 476 (-7.75%)
Mutual labels:  django
Django Dotenv
Loads environment variables from .env
Stars: ✭ 481 (-6.78%)
Mutual labels:  django
Vue Django
@Django integrated with a full-featured @Webpack + (@vuejs / vue-loader) setup with hot reload, linting, testing & css extraction.
Stars: ✭ 495 (-4.07%)
Mutual labels:  django
Yasql
基于Python开发的MySQL WEB版本的工单审核执行和SQL查询平台
Stars: ✭ 463 (-10.27%)
Mutual labels:  django
Django Messages
A Django application handling private messages between users.
Stars: ✭ 512 (-0.78%)
Mutual labels:  django
Minimal Django
A lightweight Django project - because Django can be nearly as simple as a microframework
Stars: ✭ 490 (-5.04%)
Mutual labels:  django
Django Pagedown
A django app that allows the easy addition of Stack Overflow's "PageDown" markdown editor to a django form field, whether in a custom app or the Django Admin
Stars: ✭ 500 (-3.1%)
Mutual labels:  django
Django Dirtyfields
Tracking dirty fields on a Django model
Stars: ✭ 476 (-7.75%)
Mutual labels:  django
Mangum
AWS Lambda & API Gateway support for ASGI
Stars: ✭ 475 (-7.95%)
Mutual labels:  django
Fcm Django
FCM Django: Send push notifications via django to websites, iOS & android mobile devices through FCM (Firebase Cloud Messaging)
Stars: ✭ 495 (-4.07%)
Mutual labels:  django
Django Dbbackup
Management commands to help backup and restore your project database and media files
Stars: ✭ 471 (-8.72%)
Mutual labels:  django
Django Js Reverse
Javascript url handling for Django that doesn't hurt.
Stars: ✭ 502 (-2.71%)
Mutual labels:  django
Django Role Permissions
A django app for role based permissions.
Stars: ✭ 465 (-9.88%)
Mutual labels:  django
Dj Rest Auth
Authentication for Django Rest Framework
Stars: ✭ 491 (-4.84%)
Mutual labels:  django
Django Image Cropping
Django helper application to easily and non-destructively crop arbitrarily large images in admin and frontend.
Stars: ✭ 511 (-0.97%)
Mutual labels:  django
Activflow
Generic, light-weight & extensible Workflow Engine for agile automation of Business Processes | Django, Python
Stars: ✭ 510 (-1.16%)
Mutual labels:  django
Lazy Balancer
nginx for balancer web ui
Stars: ✭ 499 (-3.29%)
Mutual labels:  django

Dockerizing Django with Postgres, Gunicorn, and Nginx

Want to learn how to build this?

Check out the post.

Want to use this project?

Development

Uses the default Django development server.

  1. Rename .env.dev-sample to .env.dev.

  2. Update the environment variables in the docker-compose.yml and .env.dev files.

  3. Build the images and run the containers:

    $ docker-compose up -d --build
    

    Test it out at http://localhost:8000. The "app" folder is mounted into the container and your code changes apply automatically.

Production

Uses gunicorn + nginx.

  1. Rename .env.prod-sample to .env.prod and .env.prod.db-sample to .env.prod.db. Update the environment variables.

  2. Build the images and run the containers:

    $ docker-compose -f docker-compose.prod.yml up -d --build
    

    Test it out at http://localhost:1337. No mounted folders. To apply changes, the image must be re-built.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].