It's an Atlassian docker compose file, to run Atlassian products with docker on one single machine. (dockerize 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:
7.9.2
6.9.0
5.10.1
With:
9.4
latest
Requirements:
Docker image source files:
How to use:
Clone the atlassian:
$ git clone https://github.com/omidraha/atlassian
Set environment variables:
$ export DOMAIN=example.com
Run docker compose:
$ docker-compose -p atlassian up
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.
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
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