|
@@ -182,3 +182,21 @@ A service has the following fields:
|
|
|
</dd>
|
|
|
</dl>
|
|
|
|
|
|
+The following is an example of bundlefile with two services:
|
|
|
+
|
|
|
+```json
|
|
|
+{
|
|
|
+ "Version": "0.1",
|
|
|
+ "Services": {
|
|
|
+ "redis": {
|
|
|
+ "Image": "redis@sha256:4b24131101fa0117bcaa18ac37055fffd9176aa1a240392bb8ea85e0be50f2ce",
|
|
|
+ "Networks": ["default"]
|
|
|
+ },
|
|
|
+ "web": {
|
|
|
+ "Image": "dockercloud/hello-world@sha256:fe79a2cfbd17eefc344fb8419420808df95a1e22d93b7f621a7399fd1e9dca1d",
|
|
|
+ "Networks": ["default"],
|
|
|
+ "User": "web"
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+```
|