Skip to content

Commit 73abc64

Browse files
committed
chore: add atlassian jira and confluence
1 parent bc4c28f commit 73abc64

File tree

3 files changed

+142
-0
lines changed

3 files changed

+142
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ Tools and software for [software project management](https://en.wikipedia.org/wi
173173
- [Gitlab Community](examples/gitlab-ce) - Self Hosted Git repository management, code reviews, issue tracking, activity feeds and wikis.
174174
- [Code-Server](examples/code-server) - VS Code in the browser, hosted on a remote server.
175175
- [Onedev](examples/onedev) - Self-hosted Git Server with CI/CD and Kanban.
176+
- [Atlassian Jira Core](examples/atlassian-jira-confluence) - Jira Core is a project and task management solution built for business teams.
176177

177178
### Automation and Monitoring
178179

@@ -388,6 +389,7 @@ A [wiki](https://en.wikipedia.org/wiki/Wiki) is a publication collaboratively ed
388389
- [Memos](examples/memos) - An open-source, self-hosted memo hub with knowledge management and social networking.
389390
- [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes.
390391
- [Docmost](examples/docmost) - Docmost is an open source collaborative documentation and wiki software. It is an open-source alternative to the likes of Confluence and Notion.
392+
- [Atlassian Confluence](examples/atlassian-jira-confluence) - Confluence is a wiki solution built for business teams.
391393

392394
### Money, Budgeting & Management
393395

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# References
2+
3+
- https://atlassian.github.io/data-center-helm-charts/containers/JIRA/
4+
- https://atlassian.github.io/data-center-helm-charts/containers/CONFLUENCE/
5+
- https://hub.docker.com/r/atlassian/jira-core
6+
- https://hub.docker.com/r/atlassian/confluence
7+
8+
# Notes
9+
10+
The Jira Core container requires a database.
11+
12+
The compose stack will spawn up a postgresql database for this. You can configure the database connection from Jira's setup wirard via the HTTP UI.
13+
14+
May use a dedicated `.env` file to provide your custom DB credentials.
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
services:
2+
3+
confluence:
4+
image: atlassian/confluence:latest
5+
container_name: confluence
6+
hostname: confluence
7+
restart: unless-stopped
8+
environment:
9+
# detailed debug messages during the container initialization
10+
- VERBOSE_LOGS=false
11+
# maximum number of days for access logs to be retained before being deleted
12+
- ATL_TOMCAT_ACCESS_LOGS_MAXDAYS=360
13+
# The maximum time a user can remain logged-in with remember me feature.
14+
- ATL_AUTOLOGIN_COOKIE_AGE
15+
# The minimum heap size of the JVM
16+
- JVM_MINIMUM_MEMORY=1024m
17+
# maximum heap size of the JVM
18+
- JVM_MAXIMUM_MEMORY=1024m
19+
# reserved code cache size of the JVM
20+
- JVM_RESERVED_CODE_CACHE_SIZE=256m
21+
# reverse proxy setup
22+
- ATL_PROXY_NAME=confluence.example.com
23+
- ATL_PROXY_PORT=443
24+
- ATL_TOMCAT_PORT=8090
25+
- ATL_TOMCAT_SCHEME=https
26+
- ATL_TOMCAT_SECURE=false
27+
# list of trusted reverse proxy ips separated by a pipe character
28+
- ATL_TOMCAT_TRUSTEDPROXIES=192.168.0.0/24|10.0.0.0/8|172.16.0.0/16
29+
ports:
30+
- 8090:8090/tcp
31+
expose:
32+
- 8090 # http web
33+
- 8091 # api port for jira communication
34+
volumes:
35+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/confluence/data:/var/atlassian/application-data/confluence
36+
networks:
37+
- atlassian-network
38+
#labels:
39+
# - traefik.enable=true
40+
# - traefik.docker.network=atlassian-network
41+
# - traefik.http.routers.confluence.rule=Host(`confluence.example.com`)
42+
# - traefik.http.services.confluence.loadbalancer.server.port=8080
43+
# # Optional part for file upload max sizes
44+
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000
45+
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000
46+
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000
47+
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000
48+
# # Optional part for traefik middlewares
49+
# - traefik.http.routers.confluence.middlewares=local-ipwhitelist@file
50+
51+
jira:
52+
image: atlassian/jira-core:9.9.2
53+
container_name: jira
54+
hostname: jira
55+
restart: unless-stopped
56+
environment:
57+
# detailed debug messages during the container initialization
58+
- VERBOSE_LOGS=false
59+
# maximum number of days for access logs to be retained before being deleted
60+
- ATL_TOMCAT_ACCESS_LOGS_MAXDAYS=360
61+
# The maximum time a user can remain logged-in with remember me feature.
62+
- ATL_AUTOLOGIN_COOKIE_AGE
63+
# The minimum heap size of the JVM
64+
- JVM_MINIMUM_MEMORY=1024m
65+
# maximum heap size of the JVM
66+
- JVM_MAXIMUM_MEMORY=1024m
67+
# reserved code cache size of the JVM
68+
- JVM_RESERVED_CODE_CACHE_SIZE=256m
69+
# reverse proxy setup
70+
- ATL_PROXY_NAME=jira.example.com
71+
- ATL_PROXY_PORT=443
72+
- ATL_TOMCAT_PORT=8090
73+
- ATL_TOMCAT_SCHEME=https
74+
- ATL_TOMCAT_SECURE=false
75+
# list of trusted reverse proxy ips separated by a pipe character
76+
- ATL_TOMCAT_TRUSTEDPROXIES=192.168.0.0/24|10.0.0.0/8|172.16.0.0/16
77+
depends_on:
78+
- postgresql
79+
ports:
80+
- 8080:8080/tcp
81+
expose:
82+
- 8080 # http web
83+
volumes:
84+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jira/data:/var/atlassian/application-data/jira
85+
networks:
86+
- atlassian-network
87+
- internal-db-network
88+
#labels:
89+
# - traefik.enable=true
90+
# - traefik.docker.network=atlassian-network
91+
# - traefik.http.routers.jira.rule=Host(`jira.example.com`)
92+
# - traefik.http.services.jira.loadbalancer.server.port=8080
93+
# # Optional part for file upload max sizes
94+
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000
95+
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000
96+
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000
97+
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000
98+
# # Optional part for traefik middlewares
99+
# - traefik.http.routers.jira.middlewares=local-ipwhitelist@file
100+
101+
postgresql:
102+
image: docker.io/library/postgres:16-alpine
103+
container_name: jira-psql
104+
restart: unless-stopped
105+
healthcheck:
106+
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
107+
start_period: 20s
108+
interval: 30s
109+
retries: 5
110+
timeout: 5s
111+
expose:
112+
- 5432 # psql service
113+
volumes:
114+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jira/psql:/var/lib/postgresql/data
115+
environment:
116+
POSTGRES_PASSWORD: ${PG_PASS:-jira}
117+
POSTGRES_USER: ${PG_USER:-jira}
118+
POSTGRES_DB: ${PG_DB:-jira}
119+
networks:
120+
- internal-db-network
121+
122+
networks:
123+
atlassian-network:
124+
external: true
125+
internal-db-network:
126+
internal: true

0 commit comments

Comments
 (0)