Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-compose with link #170

Open
artemicruz opened this issue Dec 9, 2018 · 4 comments
Open

Docker-compose with link #170

artemicruz opened this issue Dec 9, 2018 · 4 comments

Comments

@artemicruz
Copy link

https://docs.docker.com/get-started/part3/#docker-composeyml

Communication across links
Links allow containers to discover each other and securely transfer information about one container to another container. When you set up a link, you create a conduit between a source container and a recipient container. The recipient can then access select data about the source. To create a link, you use the --link flag.

Possible solution container graphite
container_name: graphite

  # Important:
  # keep the hostname graphite the same as
  # the name of the graphite docker-container
  • ICINGA2_FEATURE_GRAPHITE_HOST=graphite

My thanks and congratulations to you

@bebehei
Copy link
Contributor

bebehei commented Dec 9, 2018

Idk

@jjethwa
Copy link
Owner

jjethwa commented Dec 9, 2018

Hi @artemicruz
Can you clarify the issue you are having? Looking at the docker compose file:

ICINGA2_FEATURE_GRAPHITE_HOST=graphite

And

container_name: graphite
hostname: graphite

@artemicruz
Copy link
Author

artemicruz commented Dec 12, 2018 via email

@bebehei
Copy link
Contributor

bebehei commented Dec 12, 2018

OK, I partly get a clue, what you're talking about. But thinking further, I can't find an overall point.

I don't want to sound rude, but there is a fork button, and a Pull request button. And I would like to encourage you to make use of these. In terms of communication and the only truth of this project can be found in the its code, it might be the best solution in this situation to make a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants