Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project: Dockerized Node + MySQL Backend

├── Node Application
│   ├── Basic server (runs on port 5000)
│   └── Simple API response

├── Dockerfile
│   ├── Created Dockerfile for Node app
│   └── Implemented multi-stage build

├── Docker Image
│   └── Built custom image from Dockerfile

├── Docker Compose
│   ├── Node service
│   ├── MySQL service
│   ├── Connected both using network
│   └── Used volume for MySQL data

├── Environment Variables
│   ├── MYSQL_* variables (DB setup)
│   └── DB_* variables (Node connection)

├── Networking
│   └── Node connects to MySQL using service name

├── Port Mapping
│   └── Exposed Node app on localhost:5000

└── Debugging & Testing
    ├── Fixed YAML errors
    ├── Fixed Dockerfile issues
    ├── Solved port & container issues
    └── Verified containers using logs & docker commands


Built a Dockerized Node.js application with MySQL using Docker Compose, including multi-stage builds and container networking

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages