Clone this repository to your local workspace:
git clone [email protected]: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
Content type
Image
Digest
sha256:9f6179b3a…
Size
452.6 MB
Last updated
almost 11 years ago
docker pull glintech/confluence