This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reference-model.json
113 lines (113 loc) · 2.38 KB
/
reference-model.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"version": 1,
"hostname": "owncloud.example.org",
"services": {
"extbuild": {
"extends": {
"file": "./reference-model-base/reference-model-base.yml",
"service": "baseselfbuilt"
}
},
"extservice": {
"extends": {
"file": "./reference-model-base/reference-model-base.yml",
"service": "baseservice"
},
"env_file": [
"./extended.env"
],
"environment": {
"ADDITIONALVAR": "val",
"MYVAR1": "MYVALFROMFILE_OVERWRITTEN_IN_ENVIRONMENT"
},
"ports": [
{
"target": 80,
"published": 80,
"protocol": "tcp"
},
{
"target": 25,
"published": 25,
"protocol": "tcp"
}
],
"mounts": {
"/etc/additional.cf": "./additional.cf"
}
},
"myservice": {
"image": "docker://owncloud:latest",
"entrypoint": [
"entrypoint.sh"
],
"env_file": [
"./extended.env"
],
"environment": {
"HTTP_HOST": "myservice.example.org",
"HTTP_PORT": "5550",
"MYVAR1": "MYVALFROMFILE_OVERWRITTEN_IN_ENVIRONMENT"
},
"ports": [
{
"target": 5555,
"published": 3330,
"protocol": "tcp"
},
{
"target": 5556,
"published": 3331,
"protocol": "tcp"
},
{
"target": 5557,
"published": 3332,
"protocol": "tcp"
},
{
"target": 5558,
"published": 3333,
"protocol": "tcp"
},
{
"target": 3330,
"published": 2220,
"protocol": "udp"
},
{
"target": 3331,
"published": 2221,
"protocol": "udp"
}
]
},
"selfbuilt1": {
"build": {
"context": "./docker-build"
}
},
"selfbuilt2": {
"build": {
"context": "./docker-build",
"dockerfile": "Dockerfile-alternate",
"args": {
"buildno": "1",
"featureenabled": "true",
"myprop": "myvalue"
}
}
}
},
"volumes": {
"datavol": {
"source": "./volumes/datavol",
"kind": "host",
"readonly": false
}
},
"shared_keys": {
"http/myservice.example.org": "myservice:5550"
},
"stop_grace_period": "15s"
}