-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-aci-template.json
97 lines (97 loc) · 2.69 KB
/
azure-aci-template.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
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"containerGroups_tst_tf_allure_report_api_aci_name": {
"defaultValue": "allure-report-api-aci",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.ContainerInstance/containerGroups",
"apiVersion": "2021-03-01",
"name": "[parameters('containerGroups_tst_tf_allure_report_api_aci_name')]",
"location": "australiaeast",
"properties": {
"sku": "Standard",
"containers": [
{
"name": "[parameters('containerGroups_tst_tf_allure_report_api_aci_name')]",
"properties": {
"image": "frankescobar/allure-docker-service",
"ports": [
{
"protocol": "TCP",
"port": 5050
}
],
"environmentVariables": [
{
"name": "CHECK_RESULTS_EVERY_SECONDS",
"value": "NONE"
},
{
"name": "KEEP_HISTORY",
"value": "1"
},
{
"name": "KEEP_HISTORY_LATEST",
"value": "25"
},
{
"name": "SECURITY_USER",
"value": "tflitenz"
},
{
"name": "SECURITY_PASS",
"value": "tflitenz"
},
{
"name": "MAKE_VIEWER_ENDPOINTS_PUBLIC",
"value": "1"
}
],
"resources": {
"requests": {
"memoryInGB": 1,
"cpu": 1
}
},
"volumeMounts": [
{
"name": "gitrepo1",
"mountPath": "/app/projects"
}
]
}
}
],
"initContainers": [],
"restartPolicy": "OnFailure",
"ipAddress": {
"ports": [
{
"protocol": "TCP",
"port": 5050
}
],
"ip": "20.53.93.21",
"type": "Public",
"dnsNameLabel": "[parameters('containerGroups_tst_tf_allure_report_api_aci_name')]"
},
"osType": "Linux",
"volumes": [
{
"name": "gitrepo1",
"gitRepo": {
"directory": "./",
"repository": "https://github.com/khanzzirfan/jsonserver-mockend"
}
}
]
}
}
]
}