Full Stack website Demonstration. Read Blog on medium : https://medium.com/@tanishdewase222/
151
Got it π Hereβs a nice Docker Hub description you can put in your repo (you can edit project-specific details like ports and env variables):
This project is a mini fullstack web application that uses:
To pull the frontend image:
docker pull thetanishdewase1/fullstackweb:v1-frontend
To pull the backend image:
docker pull thetanishdewase1/fullstackweb:v1-backend
docker run -d -p 8080:80 thetanishdewase1/fullstackweb:v1-frontend
β‘οΈ Access in browser: http://localhost:8080β
docker run -d -p 3000:3000 thetanishdewase1/fullstackweb:v1-backend
β‘οΈ API available at: http://localhost:3000β
docker run -d -p 3306:3306 --name mysql-db \
-e MYSQL_ROOT_PASSWORD=root \
-e MYSQL_DATABASE=mydb \
mysql:8
Instead of running separately, you can use docker-compose.yml (recommended):
docker-compose up --build
This will start frontend, backend, and MySQL together.
Default Ports Used:
Content type
Image
Digest
sha256:efa44fdb6β¦
Size
378.9 MB
Last updated
about 1 year ago
docker pull thetanishdewase1/fullstackweb:backend