forked from SAP-samples/cf-mta-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmtad.yaml
21 lines (19 loc) · 870 Bytes
/
mtad.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ID: a.docker.cf.app
_schema-version: 3.3.0
version: 0.0.0
modules:
#A cf app consuming the configuration
- name: my-mta-managed-app
type: application # value custom would do just as well
parameters: #ALL paramters are optional and can be deleted- defaults will be taken/detected if non specified.
docker: # schedule a docker image found in that repository instead of staging bits
image: cloudfoundry/test-app # repo/image:tag
# username: <optional username> #credentials to access docker repo
# password: <optional password> $
instances: 1 #optional
routes: #optional, otherwise one generated by template is assigned
- route: my.${app-name}.${domain}
# requires:
# - service-bining-reference
properties: #how environment variables are defined
MY_ENV_VAR: "value-of-my-env-var"