forked from reportportal/reportportal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
135 lines (123 loc) · 3.37 KB
/
docker-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
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
## This is example of Docker Compose for ReportPortal
## Do not forget to configure data volumes for production usage
## Execute 'docker-compose -p reportportal up -d --force-recreate'
## to start all containers in daemon mode
## Where:
## '-p reportportal' -- specifies container's prefix (project name)
## '-d' -- enables daemon mode
## '--force-recreate' -- forces re-recreating of all containers
version: '2'
## Create separate volume for Redis and MongoDB data
## See https://docs.docker.com/compose/compose-file/#/volume-configuration-reference
volumes:
reportportal-data:
# external: true
services:
redis:
image: redis:3.2
## Uncomment if needed
# ports:
# - "6379:6379"
volumes:
- reportportal-data:/data
restart: always
mongodb:
image: mongo:3.2
## Uncomment if needed
# ports:
# - "27017:27017"
volumes:
- reportportal-data:/data/db
restart: always
## Consider disabling smallfiles for production usage
command: --smallfiles
registry:
image: reportportal/service-registry:2.7.1
# ports:
# - "8761:8761"
environment:
- SPRING_PROFILES_ACTIVE=native
- com.ta.reportportal.eureka.hostname=registry
restart: always
uat:
image: reportportal/service-authorization:2.7.1
# ports:
# - "9999:9999"
depends_on:
- redis
- mongodb
- registry
environment:
- reportportal.config.server.host=registry
- SPRING_PROFILES_ACTIVE=docker
- rp.session.live=86400
- github.client.clientId=f4cec43d4541283879c4
- github.client.clientSecret=a31aa6de3e27c11d90762cad11936727d6b0759e
# - rp.mongo.host=XXX
# - rp.mongo.port=27017
# - rp.mongo.dbName=reportportal
# - rp.mongo.user=XXX
# - rp.mongo.password=XXX
restart: always
gateway:
image: reportportal/service-gateway:2.7.1
ports:
- "8080:8080"
- "8443:8443"
depends_on:
- redis
- mongodb
- registry
environment:
- reportportal.config.server.host=registry
- SPRING_PROFILES_ACTIVE=docker
restart: always
api:
image: reportportal/service-api:2.7.2
depends_on:
- redis
- mongodb
- registry
environment:
- reportportal.config.server.host=registry
- SPRING_PROFILES_ACTIVE=docker
# - rp.mongo.host=XXX
# - rp.mongo.port=27017
# - rp.mongo.dbName=reportportal
# - rp.mongo.user=XXX
# - rp.mongo.password=XXX
restart: always
ui:
image: reportportal/service-ui:2.7.0
depends_on:
- registry
environment:
- reportportal.config.server.host=registry
- SPRING_PROFILES_ACTIVE=docker
restart: always
jira:
image: reportportal/service-jira:2.7.1
depends_on:
- registry
environment:
- reportportal.config.server.host=registry
- SPRING_PROFILES_ACTIVE=docker
# - rp.mongo.host=XXX
# - rp.mongo.port=27017
# - rp.mongo.dbName=reportportal
# - rp.mongo.user=XXX
# - rp.mongo.password=XXX
restart: always
rally:
image: reportportal/service-rally:2.7.1
depends_on:
- registry
environment:
- reportportal.config.server.host=registry
- SPRING_PROFILES_ACTIVE=docker
# - rp.mongo.host=XXX
# - rp.mongo.port=27017
# - rp.mongo.dbName=reportportal
# - rp.mongo.user=XXX
# - rp.mongo.password=XXX
restart: always