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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
docker run \
-d \
--name confluence \
-p 8090:8090 \
million12/confluence
Access setup page under docker.ip:8090 and follow installation procedure.
Atlassian Confluence licence is required to finish installation.
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.
docker run \
-d \
--name confluence-db \
-e POSTGRES_PASSWORD=mysecretpassword \
-e POSTGRES_USER=admin \
-e POSTGRES_DB=confluencedb \
postgres
docker run -d \
--name confluence-data \
-v /data/confluence/confluence-install:/opt/atlassian \
-v /data/confluence/confluence-data:/var/atlassian \
busybox:latest
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
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: 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.