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
- Host: GitHub
- URL: https://github.com/null-none/django-production-stack
- Owner: null-none
- License: mit
- Created: 2023-05-23T20:59:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T21:10:55.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T09:28:31.400Z (about 1 year ago)
- Topics: django, docker, graphana, prometheus
- Language: HTML
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.