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

Support for network dependencies? #39

Open
david-drinn opened this issue Apr 16, 2018 · 0 comments
Open

Support for network dependencies? #39

david-drinn opened this issue Apr 16, 2018 · 0 comments

Comments

@david-drinn
Copy link

david-drinn commented Apr 16, 2018

The current container dependency graph is not that helpful for containers that are indirectly dependent on each other through common networks.

For example, dockviz is completely missing the dependencies between the postgresql container and the jira container when running the container cluster of https://github.com/blacklabelops/jira.

$ docker network create jiranet
$ docker run --name postgres -d \
    --network jiranet \
    -v postgresvolume:/var/lib/postgresql \
    -e 'POSTGRES_USER=jira' \
    -e 'POSTGRES_PASSWORD=jellyfish' \
    -e 'POSTGRES_DB=jiradb' \
    -e 'POSTGRES_ENCODING=UNICODE' \
    -e 'POSTGRES_COLLATE=C' \
    -e 'POSTGRES_COLLATE_TYPE=C' \
    blacklabelops/postgres

Followed by:

$ docker run -d --name jira \
    --network jiranet \
    -v jiravolume:/var/atlassian/jira \
	  -e "JIRA_DATABASE_URL=postgresql://jira@postgres/jiradb" \
	  -e "JIRA_DB_PASSWORD=jellyfish"  \
	  -p 80:8080 blacklabelops/jira

If dockviz noted that both containers are connected to the same network, jiranet it would go a long way in visualizing that the containers are likely dependent on each other.

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

1 participant