Date
Attendees
Goals
- Encapsulate micro-services as services within a docker-compose network
- Utilize Nginx as the entry point to all of the services
Discussion items
Item | Who | Notes |
---|---|---|
Encapsulate micro-services | Host RequirementThe tests should work against these test environments
| |
Utilize Nginx | Website to Schedule Website to Schedule |
Action items
- Ralph A. Navarro Jr. commit Nginx support source to tssgTech repository.
2 Comments
Candy O'Sullivan (Sutherland)
Homework:
Which is the best way to link "website, frontend, backend, Mongo, Mongoexpress" micro-services to Internet (Port 80:80)?
Ralph A. Navarro Jr.
What we did was to utilize Nginx as the entry point to all of the services. We did this with nginx config files. Nginx listens on port 80 and based on the hostname (i.e. website.sdb, backend.sdb, frontend.sdb, mongo.sdb), nginx redirects the packets to the appropriate port that the requested service is listening on.
For local environments, we set the /etc/hosts file with your IP address that the services are running on. For docker toolbox, that hosts file config line would like so: