docker-atlassian-confluence.../README.md

83 lines
4.8 KiB
Markdown
Raw Normal View History

2016-05-26 04:29:16 +00:00
![Atlassian Confluence Server](https://www.atlassian.com/dam/wac/legacy/confluence_logo_landing.png)
Confluence Server is where you create, organise and discuss work with your team. Capture the knowledge that's too often lost in email inboxes and shared network drives in Confluence where it's easy to find, use, and update. Give every team, project, or department its own space to create the things they need, whether it's meeting notes, product requirements, file lists, or project plans, you can get more done in Confluence.
Learn more about Confluence Server: <https://www.atlassian.com/software/confluence>
You can find the repository for this Dockerfile at <https://hub.docker.com/r/atlassian/confluence-server>
2016-05-26 04:29:16 +00:00
# Overview
This Docker container makes it easy to get an instance of Confluence up and running.
# Quick Start
For the directory in the environmental variable `CONFLUENCE_HOME` that is used to store Confluence data
2016-05-26 04:29:16 +00:00
(amongst other things) we recommend mounting a host directory as a [data volume](https://docs.docker.com/userguide/dockervolumes/#mount-a-host-directory-as-a-data-volume):
Start Atlassian Confluence Server:
$> docker run -v /data/your-confluence-home:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server
2016-05-26 04:29:16 +00:00
2016-05-26 04:29:16 +00:00
**Success**. Confluence is now available on [http://localhost:8090](http://localhost:8090)*
Please ensure your container has the necessary resources allocated to it.
2016-05-26 04:42:32 +00:00
We recommend 2GiB of memory allocated to accommodate the application server.
2016-05-26 04:29:16 +00:00
See [Supported Platforms](https://confluence.atlassian.com/display/DOC/Supported+platforms) for further information.
_* Note: If you are using `docker-machine` on Mac OS X, please use `open http://$(docker-machine ip default):8090` instead._
# Upgrade
To upgrade to a more recent version of Confluence Server you can simply stop the `Confluence`
container and start a new one based on a more recent image:
$> docker stop confluence
$> docker rm confluence
$> docker run ... (see above)
As your data is stored in the data volume directory on the host, it will still
be available after the upgrade.
_Note: Please make sure that you **don't** accidentally remove the `confluence`
container and its volumes using the `-v` option._
# Backup
2016-05-26 04:47:30 +00:00
For evaluating Confluence you can use the built-in database that will store its files in the Confluence Server home directory. In that case it is sufficient to create a backup archive of the directory on the host that is used as a volume (`/data/your-confluence-home` in the example above).
2016-05-26 04:29:16 +00:00
Confluence's [automatic backup](https://confluence.atlassian.com/display/DOC/Configuring+Backups) is currently supported in the Docker setup. You can also use the [Production Backup Strategy](https://confluence.atlassian.com/display/DOC/Production+Backup+Strategy) approach if you're using an external database.
2016-05-26 04:29:16 +00:00
Read more about data recovery and backups: [Site Backup and Restore](https://confluence.atlassian.com/display/DOC/Site+Backup+and+Restore)
# Versioning
The `latest` tag matches the most recent release of Atlassian Confluence Server.
So `atlassian/confluence-server:latest` will use the newest stable version of Confluence Server available.
2016-05-26 04:29:16 +00:00
Alternatively, you can use a specific minor version of Confluence Server by using a version number
2016-06-08 04:32:54 +00:00
tag: `atlassian/confluence-server:5.10`. This will install the latest `5.10.x` version that
2016-05-26 04:29:16 +00:00
is available.
2016-06-03 03:10:49 +00:00
For the latest developer (EAP) release use `atlassian/confluence-server:eap`. This will install our latest milestone (not supported for use in production).
2016-05-26 04:29:16 +00:00
# Known Problems
In Mac OS X with Docker version 1.11.0, when running with docker-machine, there is a bug where the directory specified for `CONFLUENCE_HOME` in a volume mount will not have the correct permission, and thus startup fails with a permission denied error:
Error writing state to confluence.cfg.xml
com.atlassian.config.ConfigurationException: Couldn't save confluence.cfg.xml to /var/atlassian/confluence-home directory.
See https://github.com/docker/docker/issues/4023 for details.
To work around this issue, use a different host operating system other than Mac OSX until a newer release of Docker fixes this issue.
2016-05-26 04:29:16 +00:00
2016-06-09 03:22:16 +00:00
# Support
2016-06-20 23:55:48 +00:00
This Docker image is great for evaluating Confluence, however it does use OpenJDK which is not supported for running Confluence in production.
To meet our supported platform requirements, you'll need to build your own image based on [Oracle JDK](https://github.com/oracle/docker-images/tree/master/OracleJDK). See [Update the Confluence Docker image to use Oracle JDK ](https://confluence.atlassian.com/display/CONFKB/Update+the+Confluence+Docker+image+to+use+Oracle+JDK) for more info.
For product support go to [support.atlassian.com](http://support.atlassian.com).