Docker-compose links vs external_links : <p>I believe it is simple question but I still do not get it from Docker-compose documentations. What is the difference between links and external_links?</p>

<p>I like external_links as I want to have core docker-compose and I want to extend it without overriding the core links. </p>

<p>What exactly I have, I am trying to setup logstash which depends on the elasticsearch. Elasticsearch is in the core docker-compose and the logstash is in the depending one. So I had to define the elastic search in the depended docker-compose as a reference as logstash need it as a link. BUT Elasticsearch has already its own links which I do not want to repeat them in the dependent one.</p>

<p>Can I do that with external_link instead of link?</p>

<p>I know that links will make sure that the link is up first before linking, does the external_link will do the same?</p>

<p>Any help is appreciated. Thanks.</p>
