Giter VIP home page Giter VIP logo

atlassian's Introduction

atlassian

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

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

Atlassian supported products:

  • Jira latest
  • Confluence latest

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 folder:

    $ git clone https://github.com/Nosphorus/atlassian
    
  2. Set the nginx environment variable:

    Example: $ 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
        
    

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

  1. Create Databases for the applications:

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

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

Notes:

Data persists on named volumes, use the code below to view them:

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

atlassian's People

Contributors

nosphorus avatar omidraha avatar robertocuervo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.