-
Notifications
You must be signed in to change notification settings - Fork 0
/
marathon.json
131 lines (131 loc) · 3.7 KB
/
marathon.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
{
"id": "/sys/registry",
"apps": [
{
"id": "external",
"cpus": 0.2,
"mem": 1024,
"instances": 1,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"labels": {
"owner": "sys"
},
"ipAddress": {
"networkName": "devel",
"labels": {
"app": "external",
"group": "registry"
},
"discovery": {
"ports": [
{ "number": 5000, "name": "registry", "protocol": "tcp" }
]
}
},
"container": {
"type": "MESOS",
"docker": {
"image": "quay.io/kato/registry:v2.5.1-2",
"forcePullImage": false
}
},
"env": {
"REGISTRY_LOG_LEVEL": "debug",
"REGISTRY_HTTP_DEBUG_ADDR": "localhost:5001",
"REGISTRY_HTTP_SECRET": "secret-goes-here",
"REGISTRY_STORAGE_S3_REGION": "eu-west-1",
"REGISTRY_STORAGE_S3_BUCKET": "cell-1.dub.xnood.com",
"REGISTRY_STORAGE_S3_ROOTDIRECTORY": "/registry/external",
"REGISTRY_PROXY_REMOTEURL": "https://registry-1.docker.io"
},
"healthChecks": [
{
"port": 5000,
"protocol": "MESOS_TCP",
"gracePeriodSeconds": 120,
"intervalSeconds": 30,
"maxConsecutiveFailures": 3,
"timeoutSeconds": 5
}
],
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 1
}
},
{
"id": "internal",
"cpus": 0.2,
"mem": 1024,
"instances": 1,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"labels": {
"owner": "sys"
},
"ipAddress": {
"networkName": "devel",
"labels": {
"app": "internal",
"group": "registry"
},
"discovery": {
"ports": [
{ "number": 5000, "name": "registry", "protocol": "tcp" }
]
}
},
"container": {
"type": "MESOS",
"docker": {
"image": "quay.io/kato/registry:v2.5.1-2",
"forcePullImage": false
}
},
"env": {
"REGISTRY_LOG_LEVEL": "debug",
"REGISTRY_HTTP_DEBUG_ADDR": "localhost:5001",
"REGISTRY_HTTP_SECRET": "secret-goes-here",
"REGISTRY_STORAGE_S3_REGION": "eu-west-1",
"REGISTRY_STORAGE_S3_BUCKET": "cell-1.dub.xnood.com",
"REGISTRY_STORAGE_S3_ROOTDIRECTORY": "/registry/internal",
"REGISTRY_STORAGE_DELETE_ENABLED": "true",
"REGISTRY_HTTP_TLS_CERTIFICATE": "/mnt/mesos/sandbox/certs/server-crt.pem",
"REGISTRY_HTTP_TLS_KEY": "/mnt/mesos/sandbox/certs/server-key.pem",
"REGISTRY_AUTH_TOKEN_REALM": "https://web-portus-sys/v2/token",
"REGISTRY_AUTH_TOKEN_SERVICE": "internal-registry-sys:5000",
"REGISTRY_AUTH_TOKEN_ISSUER": "web-portus-sys",
"REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE": "/mnt/mesos/sandbox/certs/server-crt.pem",
"SSL_TRUST": "web-portus-sys:443",
"ENDPOINT_NAME": "portus",
"ENDPOINT_URL": "https://web-portus-sys/v2/webhooks/events",
"ENDPOINT_TIMEOUT": "500",
"ENDPOINT_THRESHOLD": "5",
"ENDPOINT_BACKOFF": "1"
},
"healthChecks": [
{
"port": 5000,
"protocol": "MESOS_TCP",
"gracePeriodSeconds": 120,
"intervalSeconds": 30,
"maxConsecutiveFailures": 3,
"timeoutSeconds": 5
}
],
"uris": [
"file:///etc/certs/certs.tar.bz2"
],
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 1
},
"dependencies": [
"/sys/portus/web"
]
}
]
}