Creating different environments
Previously, we managed to resolve the dependencies between our services and offer the ability to run only what we needed, which served our scenario back then.
If we examine the compose commands that we ran, we can identify that different files have been used in each case.
Compose gives us the flexibility to combine the different compose files and assemble different environments.
Running with capturing enabled
As we discovered earlier, we can have an environment for capturing the traffic exchanged between applications using Hoverfly:
docker compose -f base-compose.yaml -f monitoring/docker-compose.yaml -f event-service/capture-traffic-docker-compose.yaml -f location-service/docker-compose.yaml -f task-manager/capture-traffic-docker-compose.yaml -f hoverfly/proxy.yaml up
This environment could be used when users want to create new simulations for testing.
Running with monitoring disabled
Also, we can have a lean environment without...