million12/docker-confluence

Name: docker-confluence

Owner: MILLION12

Description: Atlassian Confluence in a Docker

Created: 2016-03-07 14:10:56.0

Updated: 2016-12-19 06:47:39.0

Pushed: 2016-03-08 11:52:11.0

Homepage: null

Size: 4

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Confluence in Docker

CircleCI Build Status GitHub Open Issues GitHub Stars GitHub Forks
Stars on Docker Hub Pulls on Docker Hub
Docker Layers

Docker image with Atlassian Confluence build in docker. Integrated with MySQL support. Base image is million12/centos-supervisor which is based on offcial CentOS-7 image.

User will need a licence to be able to finish setup. Either evaluation one or full.

This image can be run just by itself but then it will have support only for Confluence build-in database HSQL or PostgreSQL.

Basic Usage
docker run \
-d \
--name confluence \
-p 8090:8090 \
million12/confluence
Setup

Access setup page under docker.ip:8090 and follow installation procedure.
Atlassian Confluence licence is required to finish installation.

ENVIRONEMNTAL VARIABLES

This image comes with few environmental variables that will be needed to connect it to MYSQL or PostgreSQL container.

DB_SUPPORT - select mysql support.
DB_ADDRESS - Database address (ip or domain.com format).
DB_NAME - database name.

PostgreSQL Docker image
docker run \
-d \
--name confluence-db \
-e POSTGRES_PASSWORD=mysecretpassword \
-e POSTGRES_USER=admin \
-e POSTGRES_DB=confluencedb \
postgres
Data container
docker run -d \
  --name confluence-data \
  -v /data/confluence/confluence-install:/opt/atlassian \
  -v /data/confluence/confluence-data:/var/atlassian \
  busybox:latest
Confluence container
docker run -d \
  --name confluence \
  --link confluence-db:confluence.db \
  --volumes-from confluence-data \
  -e DB_ADDRESS=confluence.db \
  -e DB_NAME=confluencedb \
  -p 80:8090 \
  million12/confluence
Docker troubleshooting

Use docker command to see if all required containers are up and running:

$ docker ps -a

Check online logs of confluence container:

$ docker logs confluence

Attach to running confluence container (to detach the tty without exiting the shell, use the escape sequence Ctrl+p + Ctrl+q):

$ docker attach confluence

Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through docker's exec command:

docker exec -i -t confluence /bin/bash

History of an image and size of layers:

docker history --no-trunc=true million12/confluence | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'

Author

Author: Przemyslaw Ozgo linux@ozgo.info

Licensed under: The MIT License (MIT)

Sponsored by PrototypeBrewery.io - the new prototyping tool for building fully interactive prototypes of your website or web app. Built on top of Neos CMS and Zurb Foundation framework.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.