multiple json-server containers serving multiple json from multiple files
- add json files for each service in the config directory
- update the service*.js file so that it returns the data
- update the ports of the containers as needed. right now service1 is on port 1111, and service2 is on port 2222, etc.
$ docker-compose up
go to localhost:1111
to view the json-server welcome page for service1
- localhost:1111/people
- localhost:1111/places
- localhost:1111/health-check
...same thing for service2
- add json to new service# directory
- add new service#.js
- update docker-compose.yml with new service