Public Repository

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

JIRA Docker Install and Run

Install Docker and Git

Clone this repository to your local workspace:

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

Build JIRA Docker image

sudo docker built -t glintech/jira .

Pull Postgres image and run it

sudo docker pull postgres:latest
sudo docker run -d -p=5432:5432 -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>

Create User and DB

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

Run JIRA container

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

Comments (0)