Deploying a full stack of Atlassian Software in Docker — this is what I learned
Philipp Scheit
232

Hey, first of all thanks for your work! Did you have encouraged any problems, when connecting confluence or bitbucket with jira? I couldn’t connect them, because both applications couldn’t recognize jira running under given base-url. I think it’s because I didn’t link the containers. But with set link in the docker-compose.yml I couldn’t reach the services at all!

My docker-compose.yml looks like this:

version: "2"
services:
 jiradb:
 image: postgres:10-alpine
 environment:
 POSTGRES_DB: jiradb
 POSTGRES_USER: admin
 POSTGRES_PASSWORD: secret
 jira:
 image: cptactionhank/atlassian-jira:latest
 volumes:
 - /var/atlassian/jira
 - /opt/atlassian/jira/logs
 links:
 - jiradb
 depends_on:
 - jiradb
 ports:
 - "8080:8080"
 - "8005:8005"
 confluencedb:
 image: postgres:10-alpine
 environment:
 POSTGRES_DB: confluencedb
 POSTGRES_USER: admin
 POSTGRES_PASSWORD: secret
 confluence:
 image: atlassian/confluence-server
 volumes:
 - /var/atlassian/confluence
 links:
 - confluencedb

- jira
 depends_on:
 - confluencedb
 ports:
 - "8090:8090"
 - "8091:8091"
 bitbucketdb:
 image: postgres:10-alpine
 environment:
 POSTGRES_DB: bitbucketdb
 POSTGRES_USER: admin
 POSTGRES_PASSWORD: secret
 bitbucket:
 image: atlassian/bitbucket-server
 volumes:
 - /var/atlassian/application-data/bitbucket
 links:
 - bitbucketdb

- jira
 depends_on:
 - bitbucketdb
 ports:
 - "7990:7990"
 - "7992:7992"
 - "7993:7993"

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.