-
Notifications
You must be signed in to change notification settings - Fork 17
/
sis-db.json
executable file
·82 lines (82 loc) · 1.94 KB
/
sis-db.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
{
"id": "/hrm-moe/sis-db",
"args": [
"--datadir=/mnt/cluster_storage/sis-db/prod",
"--max_allowed_packet=128M --sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
],
"backoffFactor": 1.15,
"backoffSeconds": 1,
"container": {
"portMappings": [
{
"containerPort": 3306,
"hostPort": 0,
"labels": {
"VIP_0": "/hrm-moe/sis-db:3306"
},
"protocol": "tcp",
"servicePort": 10184,
"name": "dbsismoe"
}
],
"type": "DOCKER",
"volumes": [
{
"persistent": {
"type": "root",
"size": 1000,
"constraints": []
},
"mode": "RW",
"containerPath": "mysqldata"
}
],
"docker": {
"image": "moelk/openemis-mysql:dev",
"forcePullImage": true,
"privileged": false,
"parameters": []
}
},
"cpus": 1,
"disk": 0,
"env": {
"MYSQL_ROOT_PASSWORD": "secret",
"MYSQL_USER": "openuser",
"MYSQL_PASSWORD": "openpass",
"MYSQL_DATABASE": "openemis"
},
"healthChecks": [
{
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"maxConsecutiveFailures": 3,
"portIndex": 0,
"timeoutSeconds": 20,
"delaySeconds": 15,
"protocol": "TCP"
}
],
"instances": 1,
"maxLaunchDelaySeconds": 3600,
"mem": 1024,
"gpus": 0,
"networks": [
{
"mode": "container/bridge"
}
],
"residency": {
"relaunchEscalationTimeoutSeconds": 10,
"taskLostBehavior": "WAIT_FOREVER"
},
"requirePorts": false,
"upgradeStrategy": {
"maximumOverCapacity": 0,
"minimumHealthCapacity": 0
},
"killSelection": "YOUNGEST_FIRST",
"unreachableStrategy": "disabled",
"fetch": [],
"constraints": []
}