For version: '2' you can skip links directive. Every service defined in docker-compose.yml is available from other services by its name.
Nice. I completely misunderstood how that worked, bit after some research I think you are right.
Thanks for the tip!
You're welcome :) links is "blast from the past". It was required in the first version of docker-compose.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.