forked from arun-gupta/docker-java-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp-definition.json
More file actions
54 lines (54 loc) · 1.33 KB
/
app-definition.json
File metadata and controls
54 lines (54 loc) · 1.33 KB
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":"webapp",
"apps":[
{
"id":"database",
"cpus":4,
"mem":4096,
"instances":1,
"container":{
"type":"DOCKER",
"docker":{
"image":"arungupta/couchbase:travel",
"network":"USER"
}
},
"ipAddress":{
"networkName":"dcos"
}
},
{
"id":"web",
"dependencies":[
"/webapp/database"
],
"cpus":2,
"mem":4096,
"instances":1,
"container":{
"type":"DOCKER",
"docker":{
"image":"arungupta/wildfly-couchbase-javaee:travel",
"network":"USER",
"portMappings":[
{
"hostPort":0,
"containerPort":8080,
"protocol":"tcp"
}
]
}
},
"ipAddress":{
"networkName":"dcos"
},
"env":{
"COUCHBASE_URI":"database-webapp.marathon.containerip.dcos.thisdcos.directory"
},
"labels":{
"HAPROXY_0_VHOST":"DCOS-PublicSlaveLo-12LOS82TA7BGH-719211721.us-west-1.elb.amazonaws.com",
"HAPROXY_GROUP":"external"
}
}
]
}