Skip to content
Dockerized Django with Celery + Cache (Redis) + PostgreSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
proxy
.gitignore
Dockerfile
README.md
docker-compose.yml
requirements.txt

README.md

Dockerized Django

Usage

Set values for env variables in the .env file, like as follow

PROJECT_PATH=/absolute path
APP_NAME=application name
POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_DB=db_name

Build images:

$ docker-compose build

Start services:

$ docker-compose up -d

Create migrations:

$ docker-compose run app /usr/local/bin/python manage.py migrate

FYI

Before using this, be sure to ask for the blessing from Ali.

You can’t perform that action at this time.