Sign inSign up

containerstack/confluence

By containerstack

•Updated almost 7 years ago

Run Atlassian Confluence in a Docker container

Image
0

4.1K

containerstack/confluence repository overview

⁠Atlassian Confluence in a Docker container

This is a containerized installation of Atlassian Confluence with Docker. The aim of this image is to keep the installation easy and as straight forward as possible.

It's possible to clone this repo and build the image on you're own machine, but if you think that's a waste of time ;-) there's a Automated Build in the Docker Hub that's based on this repo.

⁠Git repos

⁠Versions

Currently this repo have the following versions;

  • 7.0.2 (latest - not yet tested)
  • 7.0.1 (latest - tested)

Go to Branches⁠ to see all different builds that are available.

⁠Use the Automated Build image for a TEST deployment;

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

docker run --detach \
           --name confluence \
           --publish 8090:8090 \
           remonlam/confluence:latest

Once the image has been downloaded and container is fully started (this could take a few minutes), browse to http://[dockerhost]:8090 to finish the configuration and enter your trail/license key.

NOTE: It's not recommended to run Confluence this way because it does NOT have persistent storage, once the container is removed everything is gone!!

⁠What does all these options do?;

detach runs the container in the background name gives the container a more useful name publish publish a port from the container to the outside world (docker node [outside] / container [inside])

⁠Use the Automated Build image for a PRODUCTION deployment;

In order to make sure that what ever you or you're team is creating in Confluence is persistent even when the container is recreated it's useful to make the "/var/atlassian/confluence" directory persistent.

docker run --detach \
           --name confluence \
           --volume "/persistent/storage/atlassian/confluence:/var/atlassian/confluence" \
           --env "CATALINA_OPTS= -Xms512m -Xmx4g" \
           --publish 8090:8090 \
           remonlam/confluence:latest

Once the image has been downloaded and container is fully started (this could take a few minutes), browse to http://[dockerhost]:8090 to finish the configuration and enter your trail/license key.

⁠What does all these options do?;
OptionDescription
detachruns the container in the background
namegives the container a more useful name
volumemaps a directory from the docker host inside the container
envsets environment variables (this case it's for setting the JVM minimum/maximum memory 512MB<->2GB)
publishpublish a port from the container to the outside world (dockernode [outside] / container [inside])

⁠Issues, PR's and discussion

If you see an issues please create an issue⁠ or even better fix it and create an PR⁠ :-)

Tag summary

Content type

Image

Digest

Size

829.7 MB

Last updated

almost 7 years ago

docker pull containerstack/confluence