Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Confluence Docker Install and Run

Install Docker and Git

Clone this repository to your local workspace:

git clone git@bitbucket.org:GLiNTECH/docker-atlassian-confluence.git

Build Confluence Docker image

sudo docker built -t glintech/confluence .

Pull Postgres image and run it, if postgres is already run, dont run it again.

sudo docker pull postgres:latest
sudo docker run -d -p=5432:3432 -v /opt/postgres/atlassian:/var/lib/postgresql/data --name postgres postgres:latest

Get Postgres container IP Address

sudo docker inspect postgres | grep -i ipaddress

e.g "IPAddress": "172.17.0.5",

Connect to Postgres console

psql -U postgres -h <x.x.x.x> -p 5432

Create User and DB

CREATE USER confluence WITH PASSWORD 'password';
CREATE DATABASE confluencedb WITH OWNER confluence ENCODING 'UTF8' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;

Run Confluence container

sudo docker run -d -v /opt/atlassian/confluence/home:/opt/atlassian/confluence-home  --link postgres:db -p=8090:8090 --name confluence glintech/confluence
Docker Pull Command
Owner
glintech

Comments (0)