[Infrastructure] add some improvements and changes for the CodeCamp session
Some changes have been made to the infra project:
-
Externalised ports as env vars. The external ports to be accessed from FrontEnd (Gov, MinIO, Storage, Streaming) as in the VM I tested I had other ports open.
-
Problem with the Quality Evaluator volume. In the compose was the absolute path, as the ‘driver_opts’ option doesn't allow you relative. If you install the infra project in another path this doesn't work. I have added "$pwd", so that it takes the infra home as a reference.
-
In the mage-tools project the MinIO IP was hardcoded, It has changed it to ‘minio’ which is how it is known in the Docker network.
-
Added validations to the script ‘docker_pre.sh’ so that if the software is already installed it doesn't install it and shows the version in the log.
-
Added script to check the versions of Docker and the tools needed.
All these changes are in the ‘feat/improvements’ branch. When I finish documenting it in the README I'll make the merge request and we'll review it.