-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
157 lines (140 loc) · 2.73 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
version: "3.3"
services:
# --- CORE SERVICES
deck:
container_name: deck
env_file:
- ./compose.env
environment:
DECK_PORT: 3000
build:
context: ../deck/
ports:
- "3000:3000"
scotty:
container_name: scotty
env_file:
- ./compose.env
environment:
SCOTTY_PORT: 3000
SCOTTY_STORAGE_HOST: redis
SCOTTY_GITHUB_APP_ID: ${GH_APPID}
LOG_LEVEL: info
SCOTTY_GITHUB_DEBUG: "false"
build:
context: ../scotty/
volumes:
- ../scotty/gh-app.pem:/opt/scotty/gh-app.pem
expose:
- "3000"
gate:
container_name: gate
env_file:
- ./compose.env
environment:
GATE_PORT: 3001
build:
context: ../gate/
ports:
- "3001:3001"
redis:
container_name: redis
image: redis
logging:
driver: none
expose:
- "6379"
# --- PLUGIN SERVICES
plugin-nebula:
container_name: plugin-nebula
env_file:
- ./compose.env
environment:
NEBULA_PORT: 3010
build:
context: ../plugin-nebula/
expose:
- "3010"
plugin-sonarqube:
container_name: plugin-sonarqube
env_file:
- ./compose.env
environment:
SONAR_PORT: 3020
LOG_LEVEL: info
build:
context: ../plugin-sonarqube/
expose:
- "3020"
plugin-twistlock:
container_name: plugin-twistlock
env_file:
- ./compose.env
environment:
TWISTLOCK_PORT: 3030
build:
context: ../plugin-twistlock/
expose:
- "3030"
plugin-zap:
container_name: plugin-zap
env_file:
- ./compose.env
environment:
ZAP_PORT: 3040
build:
context: ../plugin-zap/
expose:
- "3040"
plugin-testng:
container_name: plugin-testng
env_file:
- ./compose.env
environment:
TESTNG_PORT: 3050
build:
context: ../plugin-testng/
expose:
- "3050"
# --- AUXILIARY COMPONENTS
elastic:
container_name: elastic
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.1
logging:
driver: none
environment:
discovery.type: single-node
ports:
- "9200:9200"
expose:
- "9200"
- "9300"
sonarqube:
container_name: sonarqube
image: sonarqube:8.2-community
logging:
driver: none
ports:
- "9010:9000"
expose:
- "9000"
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.3.1
logging:
driver: none
environment:
ELASTICSEARCH_HOSTS: http://elastic:9200
ports:
- "5601:5601"
expose:
- "5601"
grafana:
container_name: grafana
image: grafana/grafana
logging:
driver: none
ports:
- "9000:3000"
expose:
- "9000"