For version: '2' you can skip links directive. Every service defined in docker-compose.yml is available from other services by its name.
version: '2'
links
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.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For
version: '2'
you can skiplinks
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.