-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-build.yaml
160 lines (160 loc) · 3.75 KB
/
docker-compose-build.yaml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
version: '3.4'
services:
confluence:
build:
context: ./confluence
dockerfile: Dockerfile
container_name: confluence-srv
environment:
- TZ='Asia/Ho_Chi_Minh'
depends_on:
- confluencedb
ports:
- "8090:8090"
volumes:
- confluence_data:/var/confluence
- confluence_core:/opt/confluence
- ./confluence/server.xml:/opt/confluence/conf/server.xml
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8090"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- network-bridge
jira:
build:
context: ./Jira
dockerfile: Dockerfile
container_name: jira-srv
environment:
- TZ='Asia/Ho_Chi_Minh'
depends_on:
- jiradb
ports:
- "8080:8080"
volumes:
- jira_data:/var/jira
- jira_core:/opt/jira
- ./Jira/server.xml:/opt/jira/conf/server.xml
- ./Jira/dbconfig.xml:/var/jira/dbconfig.xml
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- network-bridge
# servicedesk:
# build:
# context: ./servicedesk
# dockerfile: Dockerfile
# container_name: servicedesk-srv
# environment:
# - TZ='Asia/Ho_Chi_Minh'
# depends_on:
# - servicedeskdb
# ports:
# - "8088:8080"
# volumes:
# - servicedeskdb_data:/var/jira
# - servicedeskdb_core:/opt/jira
# restart: always
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:8080"]
# interval: 1m30s
# timeout: 10s
# retries: 3
# start_period: 40s
# networks:
# - network-bridge
# crowd:
# build:
# context: ./crowd
# dockerfile: Dockerfile
# container_name: crowd-srv
# environment:
# - TZ='Asia/Ho_Chi_Minh'
# depends_on:
# - crowdkdb
# ports:
# - "8095:8095"
# volumes:
# - crowd_data:/var/jira
# - crowd_core:/opt/jira
# - ./crowd/server.xml:/opt/jira/apache-tomcat/conf/server.xml
# restart: always
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:8095"]
# interval: 1m30s
# timeout: 10s
# retries: 3
# start_period: 40s
# networks:
# - network-bridge
confluencedb:
image: postgres:14
container_name: postgresql-confluence
env_file:
- database-confluence.env
# ports:
# - "5432:5432"
volumes:
- database-confluence:/var/lib/postgresql/data/
restart: always
networks:
- network-bridge
jiradb:
image: postgres:13
container_name: postgresql-jira
env_file:
- database-jira.env
# ports:
# - "5432:5432"
volumes:
- database-jiradb:/var/lib/postgresql/data/
restart: always
networks:
- network-bridge
# servicedeskdb:
# image: postgres:13
# container_name: postgresql-servicedesk
# env_file:
# - database-servicedesk.env
# volumes:
# - database-servicedesk:/var/lib/postgresql/data/
# restart: always
# networks:
# - network-bridge
# crowdkdb:
# image: postgres:13
# container_name: postgresql-servicedesk
# env_file:
# - database-crowd.env
# volumes:
# - database_crowd:/var/lib/postgresql/data/
# restart: always
# networks:
# - network-bridge
networks:
network-bridge:
driver: bridge
volumes:
jira_data:
external: false
database-confluence:
database-jiradb:
confluence_data:
confluence_core:
jira_core:
# database-servicedesk:
# servicedeskdb_data:
# servicedeskdb_core:
# database_servicedesk:
# database_crowd:
# crowd_core:
# crowd_data: