Skip to content

It's an Atlassian docker compose file, to run Atlassian products with docker on one single machine. (dockerize atlassian)

Notifications You must be signed in to change notification settings

omidraha/atlassian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

atlassian

It's Atlassian docker compose file, to run Atlassian products with docker on one single machine.

jira.example.com   wiki.example.com   bitbucket.example.com
       +                   +                    +
       |                   |                    |
       +----------------------------------------+
                           |
                           v
                         Nginx
                           +
       +-----------------------------------------+
       |                   |                     |
       v                   v                     v
   Atlassian Jira    Atlassian Confluence   Atlassian Bitbucket
 [host:jira:8080]   [host:confluence:8090]  [host:bitbucket:7990]
       +                   +                     |
       |                   |                     |
       +-----------------------------------------+
                           |
                           v
                        Postgres
                   [host:database:5432]
                           +
                           |
       +------------------------------------------+
       |                   |                      |
       v                   v                      v
   [db:jira]           [db:wiki]          [db:bitbucket]

Atlassian supported products:

  • Jira 7.9.2
  • Confluence 6.9.0
  • Bitbucket 5.10.1

With:

  • Postgres 9.4
  • Nginx latest

Requirements:

  • Docker version 1.13.1+
  • docker-compose version 1.10.0+

Docker image source files:

How to use:

  1. Clone the atlassian:

    $ git clone https://github.com/omidraha/atlassian
    
  2. Set environment variables:

    $ export DOMAIN=example.com
    
  3. Run docker compose:

    $ docker-compose -p atlassian up
    
  4. Set DNS according to the above DOMAIN value, on somewhere that you want to connect to host of docker-compose:

    $ vim /etc/hosts
        127.0.0.1 jira.example.com www.jira.example.com
        127.0.0.1 wiki.example.com www.wiki.example.com
        127.0.0.1 bitbucket.example.com www.bitbucket.example.com
    

Replace 127.0.0.1 with IP of host that docker-compose command run on it.

  1. Create Databases:

    $ docker exec -it atlassian_database_1  psql -U postgres
       postgres=# CREATE DATABASE jira;
       postgres=# CREATE DATABASE wiki;
       postgres=# CREATE DATABASE bitbucket;
       postgres=# \l
       postgres-# \q
    
  2. Browse Atlassian products:

     ```
     http://jira.example.com
     http://wiki.example.com
     http://bitbucket.example.com
     ```
    

Notes:

Data persisted on the named volumes, to see them:

   $ docker volume ls
   local               atlassian_bitbucket-data
   local               atlassian_confluence-data
   local               atlassian_jira-data
   local               atlassian_database-data

About

It's an Atlassian docker compose file, to run Atlassian products with docker on one single machine. (dockerize atlassian)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages