-
Notifications
You must be signed in to change notification settings - Fork 28
/
servicemanagement-compose.yml
executable file
·67 lines (63 loc) · 2.26 KB
/
servicemanagement-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
66
#
# _ _ ____ _ __ ___ __
# (_|_)______ _ / __/__ _____ __(_)______ / |/ /__ ____ ___ ____ ____ __ _ ___ ___ / /_
# / / / __/ _ `/ _\ \/ -_) __/ |/ / / __/ -_) / /|_/ / _ `/ _ \/ _ `/ _ `/ -_) ' \/ -_) _ \/ __/
# __/ /_/_/ \_,_/ /___/\__/_/ |___/_/\__/\__/ /_/ /_/\_,_/_//_/\_,_/\_, /\__/_/_/_/\__/_//_/\__/
# |___/ /___/
#
# Docker Compose for Run Jira Service Manegment (Servicer Desk)
# Test for Jira ServiceManegment 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:
servicemanagement:
image: atlassian/jira-servicemanagement:latest
restart: always
container_name: servicemanagement
hostname: servicemanagement
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: 'Ljp%j5x>ELVdt8V47L2'
# 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:
- servicemanagement-vol:/var/atlassian/application-data/jira
- ./agent/atlassian-agent.bak:/atlassian-agent.jar:ro
networks:
my-net:
depends_on:
- postgressql-jira
ports:
- 8080:8080
postgressql-servicemanagement:
image: postgres
restart: always
container_name: postgressql-servicemanagement
hostname: postgressql-servicemanagement
environment:
POSTGRES_USER: jira
POSTGRES_PASSWORD: '0Ljp%j5x>ELVdt8V47L2'
volumes:
- postgresql-data-servicemanagement:/var/lib/postgresql/data
networks:
my-net:
aliases:
- db-jiras
networks:
my-net:
external: true
volumes:
postgresql-data-servicemanagement:
name: postgresql-data-servicemanagement
servicemanagement-vol:
name: servicemanagement-vol