An open API service indexing awesome lists of open source software.

https://github.com/null-none/django-production-stack

Production ready stack for Django, containing: PostgreSQL, Redis, Minio, Nginx, modesecurity, Prometheus, Grafana
https://github.com/null-none/django-production-stack

django docker graphana prometheus

Last synced: 2 months ago
JSON representation

Production ready stack for Django, containing: PostgreSQL, Redis, Minio, Nginx, modesecurity, Prometheus, Grafana

Awesome Lists containing this project

README

          

# django-production-stack

### Prerequisites
- Docker
- Familiarity with Docker Compose.

### Development
Just build your django app on top of ```/volumes/app```

### Deployment commands
```bash
docker-compose up
docker-compose down
```

### Notes

- About python docker base image:

I’d probably choose the official Docker Python image (python:3.11-slim-bullseye).


See this [link](https://pythonspeed.com/articles/base-image-python-docker-images/).

- To deploy Distributed MinIO on Docker Compose:
https://github.com/minio/minio/tree/master/docs/orchestration/docker-compose

- To change Nginx-Modsecurity configuration:
Replace ```/volumes/nginx/default.conf```

- Leave ```REDIS_USER``` blank if you use redis default user.