-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathNorthflank.json
More file actions
102 lines (102 loc) · 2.74 KB
/
Copy pathNorthflank.json
File metadata and controls
102 lines (102 loc) · 2.74 KB
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
{
"apiVersion": "v1.2",
"spec": {
"kind": "Workflow",
"spec": {
"steps": [
{
"kind": "Volume",
"ref": "parse-dmarc-data",
"spec": {
"attachedObjects": [
{
"id": "${refs.parse-dmarc.id}",
"type": "service"
}
],
"mounts": [
{
"containerMountPath": "/data"
}
],
"name": "parse-dmarc-data",
"spec": {
"accessMode": "ReadWriteOnce",
"storageSize": 1024
}
}
},
{
"kind": "DeploymentService",
"ref": "parse-dmarc",
"spec": {
"billing": {
"deploymentPlan": "nf-compute-10"
},
"deployment": {
"docker": {
"configType": "default"
},
"external": {
"imagePath": "docker.io/meysam81/parse-dmarc:v1"
},
"instances": 1,
"storage": {
"ephemeralStorage": {
"storageSize": 1024
},
"shmSize": 64
}
},
"healthChecks": [
{
"failureThreshold": 3,
"initialDelaySeconds": 5,
"path": "/api/statistics",
"periodSeconds": 60,
"port": 8080,
"protocol": "HTTP",
"successThreshold": 1,
"timeoutSeconds": 10,
"type": "readinessProbe"
}
],
"infrastructure": {
"architecture": "x86"
},
"loadBalancing": {
"mode": "leastConnection"
},
"name": "Parse DMARC",
"ports": [
{
"disableNfDomain": false,
"domains": [],
"internalPort": 8080,
"name": "http",
"protocol": "HTTP",
"public": true,
"security": {
"credentials": [],
"policies": []
}
}
],
"runtimeEnvironment": {
"DATABASE_PATH": "/data/db.sqlite",
"IMAP_HOST": "${args.IMAP_HOST}",
"IMAP_MAILBOX": "INBOX",
"IMAP_PASSWORD": "${args.IMAP_PASSWORD}",
"IMAP_PORT": "993",
"IMAP_USERNAME": "${args.IMAP_USERNAME}",
"IMAP_USE_TLS": "true",
"SERVER_PORT": "8080"
},
"runtimeFiles": {}
}
}
],
"type": "sequential"
}
}
}