-
Notifications
You must be signed in to change notification settings - Fork 105
/
drupal8.json
60 lines (60 loc) · 1.34 KB
/
drupal8.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
{
"id": "drupal-8",
"apps": [
{
"id": "mysql",
"container": {
"type": "DOCKER",
"docker": {
"image": "mysql:5.5",
"network": "BRIDGE"
}
},
"env": {
"SERVICE_NAME": "mysql",
"SERVICE_TAGS": "drupal8",
"MYSQL_DATABASE": "drupal8",
"MYSQL_USER": "drupal8",
"MYSQL_PASSWORD": "drupal8",
"MYSQL_ROOT_PASSWORD": "password"
},
"cpus": 1,
"mem": 1024.0,
"instances": 1
},
{
"id": "drupal8",
"container": {
"type": "DOCKER",
"docker": {
"image": "drupal:8",
"network": "BRIDGE",
"portMappings": [{
"containerPort": 80,
"hostPort": 0,
"protocol": "tcp"
}]
}
},
"env": {
"SERVICE_NAME": "drupal8",
"DRUPAL_DB_PASSWORD": "password",
"DRUPAL_DB_NAME": "drupal8",
"DRUPAL_DB_HOST": "drupal8.mysql.service.consul"
},
"cpus": 1,
"mem": 512.0,
"instances": 1,
"healthChecks": [{
"path": "/",
"portIndex": 0,
"protocol": "HTTP",
"gracePeriodSeconds": 30,
"intervalSeconds": 10,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3
}],
"dependencies": ["/drupal-8/mysql"]
}
]
}