Skip to content

NeosIT/docker-atlassian-confluence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Build Status Open Issues Stars on GitHub Forks on GitHub Stars on Docker Hub Pulls on Docker Hub Sponsor by PayPal

Atlassian Confluence in a Docker container

This is a containerized installation of Atlassian Confluence with Docker, and it's a match made in heaven for us all to enjoy. The aim of this image is to keep the installation as straight forward as possible, but with a few Docker related twists. You can get started by clicking the appropriate link below and reading the documentation.

If you want to help out, you can check out the contribution section further down.

I'm in the fast lane! Get me started

To quickly get started running a Confluence instance, use the following command:

docker run --detach --publish 8090:8090 cptactionhank/atlassian-confluence:latest

Then simply navigate your preferred browser to http://[dockerhost]:8090 and finish the configuration.

Configuration

You can configure a small set of things by supplying the following environment variables

Environment Variable Description
X_PROXY_NAME Sets the Tomcat Connectors ProxyName attribute
X_PROXY_PORT Sets the Tomcat Connectors ProxyPort attribute
X_PROXY_SCHEME If set to https the Tomcat Connectors secure=true and redirectPort equal to X_PROXY_PORT
X_PATH Sets the Tomcat connectors path attribute
X_CROWD_SSO Set to true to enable SSO via Atlassian Crowd

How to enable SSO via Crowd

Setting X_CROWD_SSO to true will do two things:

  • enable the ConfluenceCrowdSSOAuthenticator
  • tell Confluence to load crowd-properties.conf from /var/atlassian/confluence (It is your responsibility to put it there!)

Warning: You have to setup the Crowd user directory in Confluence beforehand. After enabling the ConfluenceCrowdSSOAuthenticator, you are not able to log in using local accounts anymore.

See the official Documentation for more information.

This image is based on https://github.com/cptactionhank/docker-atlassian-confluence