mhubig / atlassian

A simple docker based orchestration of the atlassian web apps.
https://www.atlassian.com
59 stars 47 forks source link

Can't connect the services #2

Closed bastianwegge closed 6 months ago

bastianwegge commented 9 years ago

Hey,

I cannot connect the services between each other. They're reachable through:

jira.hostname -> jira
docs.hostname -> confluence
crowd.hostname -> crowd

But jira won't accept crowd as user-management using http://crowd.hostname/crowd neither will it using http://crowd.hostname/crowd. The same with confluence and the other services trying to connect with jira.

Don't know if that's a bug but it's definetly an issue for me.

mhubig commented 9 years ago

If you try to interconnect the services you need to do it with DNS and via the nginx container:

jira.hostname       -> nginx.hostname
confluence.hostname -> nginx.hostname
crowd.hostname      -> nginx.hostname
nginx.hostname      -> 192.168.1.1 #(e.g)

Here is a little test (e.g. stash and crowd) to see if those DNS entries are correctly in place:

$ docker exec -it atlassian_stash_1 ping -c 1 crowd.hostname
-> PING crowd.hostname (192.168.1.1) 56(84) bytes of data.
...
$ docker exec -it atlassian_crowd_1 ping -c 1 stash.hostname
-> PING stash.hostname (192.168.1.1) 56(84) bytes of data.
...

What's left are the crowd permissions settings ...

Maybe I will add something linke https://github.com/crosbymichael/skydock and https://github.com/skynetservices/skydns to the orchestration in a later release.