Skip to content

Instantly share code, notes, and snippets.

@fllaca
Last active December 28, 2016 14:34
Show Gist options
  • Save fllaca/d2b72489a44bae213f16bd33ed7baea5 to your computer and use it in GitHub Desktop.
Save fllaca/d2b72489a44bae213f16bd33ed7baea5 to your computer and use it in GitHub Desktop.
Docker Compose Templates
# Maybe you will need to add "jira" and "confluence" pointing to localhost in your /etc/hosts file.
# Don't forget also to create the folders "./jira/jira-home" and "./confluence/confluence-home" in the
# same directory where this file is.
#
# start with: docker-compose up -d
#
version: '2'
services:
jira:
image: cptactionhank/atlassian-jira-software:7.2.4
volumes:
- ./jira/jira-home:/var/atlassian/jira
expose:
- "8080"
- "8000"
environment:
JPDA_ADDRESS: 0.0.0.0:8000
command: /opt/atlassian/jira/bin/catalina.sh jpda run
ports:
- "8080:8080"
- "8000:8000"
confluence:
image: cptactionhank/atlassian-confluence:5.8.16
volumes:
- ./confluence/confluence-home:/var/local/atlassian/confluence
links:
- jira
expose:
- "8090"
ports:
- "8090:8090"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment