3-tier MERN Hospital Management System, Dockerized with Compose & deployed on AWS EC2.
80
A 3-tier Hospital Management System (React, Node.js/Express, MongoDB), containerized with Docker and deployed on AWS EC2 using Docker Compose.
| Tag | Contains | Size |
|---|---|---|
frontend | React + Tailwind, served by Nginx | ~95.7 MB |
backend | Node.js + Express API | ~207 MB |
mongo | MongoDB database | ~266 MB |
docker pull sharadverma638/hospital-management-system-docker:frontend
docker pull sharadverma638/hospital-management-system-docker:backend
docker pull sharadverma638/hospital-management-system-docker:mongo
Browser → Frontend (Nginx, port 3000)
↓
Backend (Express, port 5000)
↓
MongoDB (27017, internal only)
↓
Volume: mongo-data
All containers run on the custom network hospital-net.
| Layer | Technology |
|---|---|
| Frontend | React, Tailwind CSS, React Router |
| Backend | Node.js, Express, JWT, bcrypt |
| Database | MongoDB (Mongoose) |
| Server | Nginx |
| DevOps | Docker, Docker Compose, AWS EC2 |
restart: unless-stoppedgit clone https://github.com/sharadverma638/hospital-management-system-docker.git
cd hospital-management-system-docker
docker-compose up -d --build
docker exec -it hospital-backend node createAdmin.js
Open: http://<your-server-ip>:3000
Environment variable
MONGO_URI=mongodb://mongo:27017/hospital
The server IP is set inside the frontend at build time. On your own
server, rebuild the frontend using update-ip.sh from the GitHub repo.
GitHub (code, system design, screenshots): https://github.com/sharadverma638/hospital-management-system-docker
Original app: https://github.com/MKPTechnicals/Hospital-Management-System-MERN
Content type
Image
Digest
sha256:268eb517a…
Size
266 MB
Last updated
13 days ago
docker pull sharadverma638/hospital-management-system-docker:mongo