A reference repo for my Django Projects
- Django + Django Rest Framework
- Redis
- Celery
- Elasticsearch
- Nginx
- PostgreSQL
- Minio
- Gunicorn
- Kibana
- Logstash
- Filebeat
- Prometheus
- Upload
- Permissions
- Login with JWT
- Create a
.env.devand.env-db.devfiles. Use the.envand.env-dbas reference - Run
chmod +xtoentrypoint.shandentrypoint.prod.sh - Run
docker-compose upto start the app.
- Build a Dockerfile for dev and production
- Create a docker-compose.yml for dev and production
- Configure docker-elk
- repo came from https://github.com/deviantony/docker-elk
- in the
elasticsearch/config/elasticsearch.ymlset thexpack.license.self_generated.typefromtrialtobasic - tutorial: https://gonzalo123.com/2020/08/10/monitoring-django-applications-with-grafana-and-kibana-using-prometheus-and-elasticsearch/
- Configure Prometheus:
- reference repo came from https://github.com/dotja/django-prometheus-docker
- refer to the following link: https://www.youtube.com/watch?v=86js4POzTV4
- Integrate file upload with Minio
- Integrate file CRUD ops with Minio
- Add type hints / annotations to customized code