-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathjira-compose.yml
executable file
·66 lines (62 loc) · 1.82 KB
/
jira-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# ___ ____ _____
# __ / (_)______ _ / __/__ / _/ /__ _____ ________
# / // / / __/ _ `/ _\ \/ _ \/ _/ __/ |/|/ / _ `/ __/ -_)
# \___/_/_/ \_,_/ /___/\___/_/ \__/|__,__/\_,_/_/ \__/
#
# Docker Compose for Run Jira
# Test for Jira Server 8.x ~ 9.x
# Need "my-net" Network for Run this File
# docker network create --driver bridge --subnet=150.50.50.0/24 my-net
version: "3.4"
services:
jira:
image: atlassian/jira-software:latest
restart: always
container_name: jira
hostname: jira
environment:
ATL_DB_DRIVER: 'org.postgresql.Driver'
ATL_DB_TYPE: 'postgres72'
ATL_JDBC_URL: 'jdbc:postgresql://db-jira:5432/jira'
ATL_JDBC_USER: 'jira'
ATL_JDBC_PASSWORD: 'DA.13jpj93%eBw_Q'
# If Use Reverse Proxy Uncomment this Line
#ATL_TOMCAT_SCHEME: 'https'
#ATL_TOMCAT_SECURE: 'true'
#ATL_PROXY_PORT: '443'
#ATL_PROXY_NAME: 'jira.my-site.com'
JAVA_OPTS: '-javaagent:/atlassian-agent.jar'
JVM_MINIMUM_MEMORY: 512m
JVM_MAXIMUM_MEMORY: 2048m
volumes:
- jira-vol:/var/atlassian/application-data/jira
- ./agent/atlassian-agent.bak:/atlassian-agent.jar:ro
networks:
ronix-net:
depends_on:
- postgressql-jira
ports:
- 8081:8080
postgressql-jira:
image: postgres
restart: always
container_name: postgressql-jira
hostname: postgressql-jira
environment:
POSTGRES_USER: jira
POSTGRES_PASSWORD: 'DA.13jpj93%eBw_Q'
volumes:
- postgresql-data-jira:/var/lib/postgresql/data
networks:
ronix-net:
aliases:
- db-jira
networks:
ronix-net:
external: true
volumes:
postgresql-data-jira:
name: postgresql-data-jira
jira-vol:
name: jira-vol