Demonstration of containerizing 2 microservices in a single container Docker uses run.sh to start both the servers as CMD can only invoke one server at a time.
Simple API with three endpoints running at 127.0.0.1:5000:
- / -Returns the detail of the user
- /users -Return the list of all users with the purchased cars
- /users/id -Returns the information/details of a particular user by an id
Simple API with three endpoints running at 127.0.0.1:5001:
- / -Returns the detail of the user
- /cars -Return the list of all cars with detailed information
- /cars/id -Returns the information/details of a particular car by an id