-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmarathon-db.json.example
54 lines (54 loc) · 1.05 KB
/
marathon-db.json.example
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
{
"id": "/yndphxbootstrap/postgres",
"cpus": 0.2,
"mem": 512,
"instances": 1,
"container": {
"portMappings": [
{
"containerPort": 5432,
"hostPort": 0,
"protocol": "tcp",
"name": "yndphxbootstrap-postgres"
}
],
"type": "DOCKER",
"volumes": [
{
"persistent": {
"size": 100
},
"mode": "RW",
"containerPath": "pgdata-yndphxbootstrap"
}
],
"docker": {
"image": "postgres:10.1"
}
},
"env": {
"POSTGRES_USER": "yndphxbootstrap",
"POSTGRES_PASSWORD": "yndphxbootstrap",
"PGDATA": "/mnt/mesos/sandbox/pgdata-yndphxbootstrap"
},
"healthChecks": [],
"upgradeStrategy": {
"maximumOverCapacity": 0,
"minimumHealthCapacity": 0
},
"labels": {
"HAPROXY_GROUP": "internal"
},
"residency": {
"relaunchEscalationTimeoutSeconds": 10,
"taskLostBehavior": "WAIT_FOREVER"
},
"requirePorts": false,
"networks": [
{
"mode": "container/bridge"
}
],
"fetch": [],
"constraints": []
}