Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azavea/docker-django
Base Docker image for Django and Gunicorn.
https://github.com/azavea/docker-django
django docker geodjango gunicorn postgis postgresql
Last synced: 3 months ago
JSON representation
Base Docker image for Django and Gunicorn.
- Host: GitHub
- URL: https://github.com/azavea/docker-django
- Owner: azavea
- License: apache-2.0
- Created: 2015-07-21T15:33:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T22:14:57.000Z (over 1 year ago)
- Last Synced: 2024-04-15T02:10:19.631Z (10 months ago)
- Topics: django, docker, geodjango, gunicorn, postgis, postgresql
- Language: Shell
- Homepage:
- Size: 172 KB
- Stars: 28
- Watchers: 23
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-django
[![CI](https://github.com/azavea/docker-django/workflows/CI/badge.svg?branch=master)](https://github.com/azavea/docker-django/actions?query=workflow%3ACI)
This repository contains a collection of templated `Dockerfile` for image variants designed to support Django through the Gunicorn WSGI HTTP server. In addition, these images include support for GeoDjango, PostgreSQL, and Gevent.
## Usage
### Template Variables
- `PYTHON_VERSION` - Python interpreter version (for `python:*-slim-bullseye` [images](https://hub.docker.com/_/python/))
### Testing
An example of how to use `cibuild` to build and test an image:
```bash
$ CI=1 VERSION=3.2 PYTHON_VERSION=3.9 \
./scripts/cibuild
```