Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 1.25 KB

README.Md

File metadata and controls

66 lines (49 loc) · 1.25 KB

Simple microservices from Microservices with Node JS and React course by Stephen Grider

Installation in linux

Looking for installation docker tutorial for linux, especially linux mint?

Check out my github gist in here.

i havent learn about docker compose yet, so i use bash script for simplify command of docker.

https://askubuntu.com/questions/500071/running-a-sh-to-execute-multiple-commands/

Change script shell permission

chmod +x ./install.sh ./start.sh ./stop.sh ./restart.sh ./remove.sh

Create docker image

./install.sh

Start docker container

./start.sh

Restart docker container

./restart.sh

Stop docker container

./stop.sh

Remove docker container

./remove.sh

Port

Client

Docker port: 3000

Exposed port: 3000

Comments

Docker port: 4001

Exposed port: 4001

Event-bus

Docker port: 4005

Exposed port: 4005

Moderation

Docker port: 4003

Exposed port: 4003

Posts

Docker port: 4000

Exposed port: 4000

Query

Docker port: 4002

Exposed port: 4002