7574-sistemas-distribuidos / tp0-base

1 stars 139 forks source link

Fixes in docker-compose-dev #4

Closed Ezetowers closed 3 years ago

Ezetowers commented 3 years ago

Summary

PR to remove the static IPs set to the services. I have put them to show the students that they were able to define a specific IP for a specific service, but then they started to use this configuration in their practical works.

To avoid this from happening, only the subnet is configured and then the IPs are dynamically set to the services by docker-compose. With this change, students are forced to use the name of the service as address instead of the IP address