You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy-apps/manifest.html.md.erb
+22-21Lines changed: 22 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -217,8 +217,7 @@ The command line option `--docker-image` or `-o` overrides `docker.image`. The
217
217
218
218
The manifest attribute `docker.username` is optional. If it is used, then the password must be provided in the environment variable `CF_DOCKER_PASSWORD`. Additionally, if a Docker username is specified, then a Docker image must also be specified.
The `docker` attribute cannot be used in conjunction with the following attributes: `buildpack` and `path`. An error will result.
220
+
<pclass="note"><strong>Note</strong>: Using the <code>docker</code> attribute in conjunction with the <code>buildpack</code> or <code>path</code> attributes will result in an error.</p>
Variable substitution replaces [Inheritance](#inheritance-deprecated), which has been deprecated.
560
559
@@ -679,15 +678,15 @@ The following example illustrates how to declare shared configuration using a YA
679
678
<pre>
680
679
---
681
680
defaults: &defaults
682
-
buildpack: staticfile_buildpack
683
-
memory: 1G
681
+
buildpack: staticfile_buildpack
682
+
memory: 1G
684
683
685
684
applications:
686
685
- name: bigapp
687
-
<<: *defaults
686
+
<<: *defaults
688
687
- name: smallapp
689
-
<<: *defaults
690
-
memory: 256M
688
+
<<: *defaults
689
+
memory: 256M
691
690
</pre>
692
691
693
692
When pushing the app, make explicit the attributes in each app’s declaration. To do this, assign the anchors and include the app-level attributes with YAML aliases in each app declaration.
@@ -700,9 +699,9 @@ Previously, you could specify routes by listing them all at once using the `rout
700
699
---
701
700
applications
702
701
- name: webapp
703
-
host: www
704
-
domains:
705
-
- example.com
702
+
host: www
703
+
domains:
704
+
- example.com
706
705
- example.io
707
706
</pre>
708
707
@@ -721,13 +720,15 @@ Now you can only specify routes by using the `routes` attribute:
721
720
---
722
721
applications
723
722
- name: webapp
724
-
routes:
725
-
- route: www.example.com/foo
726
-
- route: tcp.example.com:1234
723
+
routes:
724
+
- route: www.example.com/foo
725
+
- route: tcp.example.com:1234
727
726
</pre>
728
727
729
728
This app manifest feature has been deprecated, and a replacement option is under consideration.
730
729
731
-
### <aid='inheritance-deprecated'></a> Inheritance Is Deprecated
This feature has been deprecated, and has been replaced by [Variable Substitution](#variable-substitution).
732
733
733
-
With inheritance, child manifests inherited configurations from a parent manifest, and the child manifests could use inherited configurations as provided, extend them, or override them. This feature has been deprecated, and has been replaced by [Variable Substitution](#multi-manifests).
734
+
With inheritance, child manifests inherited configurations from a parent manifest, and the child manifests could use inherited configurations as provided, extend them, or override them.
0 commit comments