-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs.json
68 lines (68 loc) · 1.36 KB
/
ecs.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
{
"family": "crons-sample_domain_com",
"containerDefinitions": [
{
"name": "crons-sample_domain_com",
"image": "matthewduren/docker-phpcli",
"cpu": 64,
"memory": 512,
"entryPoint": [],
"environment": [
{
"name": "VIRTUAL_HOST",
"value": "sample.domain.com"
},
{
"name": "RUN_CMD",
"value": "/path/to/cron.sh"
},
{
"name": "RUN_CMD_LOG",
"value": "/var/logs/cron.log"
}
],
"command": [],
"portMappings": [],
"volumesFrom": [],
"links": [],
"mountPoints": [
{
"sourceVolume": "logs",
"containerPath": "/var/logs",
"readOnly": false
},
{
"sourceVolume": "app",
"containerPath": "/app",
"readOnly": false
},
{
"sourceVolume": "apps",
"containerPath": "/var/apps",
"readOnly": false
}
],
"essential": true
}
],
"volumes": [
{
"name": "logs",
"host": {
"sourcePath": "/var/docker/logs/"
}
},
{
"name": "app",
"host": {
"sourcePath": "/var/docker/apps/sample.domain.com/"
}
},
{
"name": "apps",
"host": {
"sourcePath": "/var/docker/apps/"
}
}
]
}