Browse Source

Update schema.md

davidfowl/build-earlier
David Fowler 7 years ago
committed by GitHub
parent
commit
f0bb659794
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      docs/schema.md

12
docs/schema.md

@ -209,8 +209,8 @@ Bindings represent protocols *exposed* by a service. How bindings are specified
Bindings should either provide: Bindings should either provide:
- A `connectionString` - A `connectionString`
- A `protocol` and `port` - A `protocol`
- A `protocol` and `autoAssignPort: true` - A `port`
### Binding Example ### Binding Example
@ -259,7 +259,7 @@ Specifies the port used by the binding when running in a docker container.
Specifies the port used by the binding when running in a docker container. Specifies the port used by the binding when running in a docker container.
#### `autoAssignPort` (bool) #### `autoAssignPort` (bool deprecated, by default a port will be auto assigned if no connection string was specified)
Specifies that the port should be assigned randomly. Defaults to `false`. This is currently only useful for projects - where the tye host will automatically infer bindings with `autoAssignPort: true` Specifies that the port should be assigned randomly. Defaults to `false`. This is currently only useful for projects - where the tye host will automatically infer bindings with `autoAssignPort: true`
@ -282,10 +282,14 @@ name: myapplication
### Volume Properties ### Volume Properties
#### `source` (string) *required* #### `source` (string)
The local path. The local path.
### `name` (string)
A named docker volume.
#### `target` (string) *required* #### `target` (string) *required*
The destination path within the container. The destination path within the container.

Loading…
Cancel
Save