-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplates-2.0.json
306 lines (306 loc) · 14.1 KB
/
templates-2.0.json
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
{
"version": "2",
"templates": [{
"type": 2,
"title": "PortaBI",
"description": "A user-friendly business intelligence tool, analyzing live data and reporting it all in a meaningful way.",
"note": "Please fill the fields below before installing the application.",
"categories": [
"Data Analyze"
],
"platform": "linux",
"logo": "https://git.portaone.com:29999/public/portainer/raw/branch/master/porta_default_app_logo.png",
"repository": {
"url": "https://git.portaone.com:29999/public/portainer",
"stackfile": "latest/app/PortaBI/docker-stack.yml"
},
"env": [
{
"name": "SFTP_URL",
"label": "Sftp URL",
"description": "Sftp URL"
},
{
"name": "SFTP_LOGIN",
"label": "Sftp login",
"description": "Sftp login"
},
{
"name": "PB_ADMIN_URL",
"label": "Admin URL",
"description": "Porta Billing Admin URL"
},
{
"name": "DB_DSN",
"label": "DB DSN",
"description": "Database DSN"
},
{
"name": "DB_USER",
"label": "DB User",
"description": "Database Username"
},
{
"name": "DB_PASSWORD",
"label": "DB Password",
"description": "Database Password"
},
{
"name": "I_ENV",
"label": "PB Environment ID",
"description": "Porta Billing Env ID associated with the current service"
},
{
"name": "SSH_KEY",
"label": "SSH Key for sftp connection",
"description": "SSH Key for sftp connection"
},
{
"name": "PATH_TO_ORA_TNSNAMES",
"label": "Oracle tnsnames path"
}
]
},
{
"type": 2,
"title": "BALogsUI",
"description": "Grafana interface (an open source analytics & monitoring solution providing easy access (search, download) to the BillingAdmin logs)",
"note": "Please complete all the fields (like 'Elasticsearch URL') before installing the application. If you release is lower than mr100-2,mr101-1,mr103-0+ clean up 'NGINX*' and 'port' fields",
"categories": [
"BillingAdmin Logs"
],
"platform": "linux",
"logo": "https://git.portaone.com:29999/public/portainer/raw/branch/master/porta_default_app_logo.png",
"repository": {
"url": "https://github.com/filosof86/filosof_repo",
"stackfile": "tree/main/app/BALogsUI/docker-stack.yml"
},
"env": [
{
"name": "ELASTICSEARCH_URL",
"label": "Elasticsearch URL",
"description": "The URL of the Elasticsearch instance where BA logs data is stored"
},
{
"name": "DEFAULT_USER_LOGIN",
"label": "Default user login",
"description": "The default user login for the Grafana web interface, 4 characters or longer"
},
{
"name": "DEFAULT_USER_PASSWORD",
"label": "Default user password",
"description": "TheThe default user password for the Grafana web interface, 4 characters or longer"
},
{
"name": "DOMAIN_NAME_FOR_UI",
"label": "Domain name for Grafana",
"description": "The domain name of the server where Grafana is deployed (will be used to generate the SSL certificate)"
},
{
"name": "NGINX_CERT_PATH",
"label": "Nginx certificate path",
"description": "Path to Nginx certificate. This field should be cleared up for releases lower than mr100-2,mr101-1,mr103-0+",
"default": "/porta_var/balogs-grafana-configs/balogs-grafana-nginx.crt"
},
{
"name": "NGINX_KEY_PATH",
"label": "Nginx SSL key path",
"description": "Path to Nginx SSL key. This field should be cleared up for releases lower than mr100-2,mr101-1,mr103-0+",
"default": "/porta_var/balogs-grafana-configs/balogs-grafana-nginx.key"
},
{
"name": "NGINX_CFG_PATH",
"label": "Nginx config path",
"description": "Path to Nginx configuration file. This field should be cleared up for releases lower than mr100-2,mr101-1,mr103-0+",
"default": "/porta_var/balogs-grafana-configs/balogs-grafana-nginx.conf"
},
{
"name": "GRAFANA_PORT",
"label": "Port for Grafana",
"description": "Port for Grafana. This field should be cleared up for releases lower than mr100-2,mr101-1,mr103-0+",
"default": "3003"
},
{
"name": "NGINX_PORT",
"label": "Port for Nginx proxy",
"description": "Port for Nginx proxy used to access Grafana. This field should be cleared up for releases lower than mr100-2,mr101-1,mr103-0+",
"default": "3005"
}
]
},
{
"type": 2,
"title": "BALogsUI (passwordless)",
"description": "Grafana interface (an open source analytics & monitoring solution providing easy access (search, download) to the BillingAdmin logs)",
"note": "(!) Active in mr100-2,mr101-1,mr103-0+. Please complete all the fields (like 'Elasticsearch URL') before installing the application",
"categories": [
"BillingAdmin Logs"
],
"platform": "linux",
"logo": "https://git.portaone.com:29999/public/portainer/raw/branch/master/porta_default_app_logo.png",
"repository": {
"url": "https://git.portaone.com:29999/public/portainer",
"stackfile": "app/BALogsUI/docker-stack.yml"
},
"env": [
{
"name": "ELASTICSEARCH_URL",
"label": "Elasticsearch URL",
"description": "The URL of the Elasticsearch instance where BA logs data is stored"
},
{
"name": "DEFAULT_USER_LOGIN",
"label": "Default user login",
"description": "The default user login for the Grafana web interface, 4 characters or longer"
},
{
"name": "DEFAULT_USER_PASSWORD",
"label": "Default user password",
"description": "TheThe default user password for the Grafana web interface, 4 characters or longer"
},
{
"name": "DOMAIN_NAME_FOR_UI",
"label": "Domain name for Grafana",
"description": "The domain name of the server where Grafana is deployed (will be used to generate the SSL certificate)"
}
]
},
{
"type": 2,
"title": "BALogsSupervisor",
"description": "The service for reindexing and removing old BillingAdmin logs stored in the Elasticsearch",
"note": "Please complete all the mandatory fields (like 'Elasticsearch Node') before installing the application",
"categories": [
"BillingAdmin Logs"
],
"platform": "linux",
"logo": "https://git.portaone.com:29999/public/portainer/raw/branch/master/porta_default_app_logo.png",
"repository": {
"url": "https://git.portaone.com:29999/public/portainer",
"stackfile": "latest/app/BALogsSupervisor/docker-stack.yml"
},
"env": [
{
"name": "ES_NODES",
"label": "Elasticsearch Node",
"description": "The Elasticsearch master node (in the format '<IP_ADDR>:<PORT>') where logs will be saved"
},
{
"name": "LOGS_CLEANUP_DAYS",
"label": "Logs cleanup days",
"description": "Delete logs that were saved more than N days ago",
"default": "50"
},
{
"name": "SUPERVISOR_PROCESSING_TIMEOUT_MIN",
"label": "Processing timeout (minutes)",
"description": "Try to delete/reindex logs every N minutes",
"default": "60"
}
]
},
{
"type": 2,
"title": "BALogsExporter",
"description": "The service for collecting logs from a BillingAdmin node and saving them in the Elasticsearch",
"note": "Please complete all the mandatory fields (like 'Elasticsearch Node') before installing the application",
"categories": [
"BillingAdmin Logs"
],
"platform": "linux",
"logo": "https://git.portaone.com:29999/public/portainer/raw/branch/master/porta_default_app_logo.png",
"repository": {
"url": "https://git.portaone.com:29999/public/portainer",
"stackfile": "latest/app/BALogsExporter/docker-stack.yml"
},
"env": [
{
"name": "ES_NODES",
"label": "Elasticsearch Node",
"description": "The Elasticsearch master node where logs will be saved. Format: {ip}:{port}. Example value: 10.0.2.15:9200"
},
{
"name": "EXPORTER_PROCESSING_TIMEOUT_SEC",
"label": "Processing timeout (seconds)",
"description": "Try to collect/save logs every N seconds",
"default": "60"
}
]
},
{
"type": 2,
"title": "API v2",
"description": "The API v2 service",
"categories": [],
"platform": "linux",
"logo": "https://git.portaone.com:29999/public/portainer/raw/branch/master/porta_default_app_logo.png",
"repository": {
"url": "https://git.portaone.com:29999/public/portainer",
"stackfile": "latest/app/APIv2/docker-stack.yml"
},
"env": [
{
"name": "LISTEN_HTTP_IP",
"label": "Service IP",
"description": "Bind API gatewey service to this IP, to make it available via http"
},
{
"name": "DB_IP",
"label": "Database IP",
"description": "IP for the porta-db-master hostname"
},
{
"name": "REPLICAS",
"label": "Number of PortaAdmin nodes",
"description": "Ensure that service runs on every PortaAdmin node",
"default": "1"
}
]
},
{
"type": 2,
"title": "Configurator API",
"name": "configurator-api",
"description": "API service for the configurator. Allows retrieval of parameters from the configuration, for example, to deploy other Portainer stacks.",
"categories": [
"API"
],
"platform": "linux",
"logo": "https://git.portaone.com:29999/public/portainer/raw/branch/master/porta_default_app_logo.png",
"repository": {
"url": "https://github.com/filosof86/filosof_repo",
"stackfile": "app/ConfiguratorAPI/docker-stack.yml"
},
"env": [
{
"name": "LOG_LEVEL",
"label": "Log Level",
"description": "Logging level for the API. Available values: TRACE, DEBUG, INFO, WARNING, ERROR.",
"default": "DEBUG"
},
{
"name": "HOST",
"label": "Host",
"description": "The host IP address where the API will listen. Only one IP address can be specified. For network settings, use Allowed Networks.",
"default": "0.0.0.0"
},
{
"name": "ALLOWED_NETWORKS",
"label": "Allowed Networks",
"description": "Comma-separated list of networks allowed to access the API.",
"default": "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
},
{
"name": "MONGODB_INITDB_ROOT_USERNAME",
"label": "MongoDB Root Username",
"description": "Initial root username for MongoDB. Note: Changing this after the database has been initialized will not change the actual username in the database. Must set together with the 'MongoDB Root Password'"
},
{
"name": "MONGODB_INITDB_ROOT_PASSWORD",
"label": "MongoDB Root Password",
"description": "Initial root password for MongoDB. Note: Changing this after the database has been initialized will not change the password in the database; you will need to manually update it inside MongoDB. Must set together with the MongoDB Root Username'"
}
]
}
]
}