๐ Deployed a Django Notes App with Docker, Nginx & MySQL!

Hi, Iโm Mohit Deore passionate about cloud computing, DevOps, and frontend technologies. I love building scalable applications and exploring new tools in the cloud and container ecosystem.
I recently cloned a Django Notes App project and tried deploying it live. It was an amazing hands-on experience with Docker, Nginx, and MySQL! ๐ณ
What I Did :
Cloned the Project โ Got the Django backend, Docker setup, and Nginx configuration.
๐น Set Up Environment Variables โ Configured database details so Django could talk to MySQL.
๐น Dockerized the App โ Created containers for Django and Nginx.
๐น Attached Volumes โ Persisted MySQL data with docker volumes for safe storage. ๐พ
๐น Used Docker Compose โ Connected Django, MySQL, and Nginx together in one network.
๐น Configured Nginx โ Acted as a reverse proxy to forward web requests to Django.
๐น Health Checks & Debugging โ Made sure everything was running smoothly before going live.

Challenges I Faced:
โ โHost not foundโ errors โ Fixed by matching service names in Docker Compose and Django
.env.โ Containers exiting immediately โ Solved by checking logs and adjusting configs.
โ Permission issues โ Handled using proper access permissions.
Outcome & Learnings:
โ Successfully deployed a fully live web app accessible via server IP.
โ Learned Docker networking, volume management, and container orchestration.
โ Got hands-on with Nginx as a reverse proxy.
โ Gained experience in debugging real deployment issues.





