@ -206,7 +206,7 @@ The value of the environment variable.
Bindings represent protocols *exposed* by a service. How bindings are specified can affect both:
- How a project is run.
- How [service discovery](/docs/service_discovery.md) is performed.
- How [service discovery](/docs/reference/service_discovery.md) is performed.
Bindings should either provide:
@ -233,25 +233,25 @@ name: myapplication
The name of the binding. Binding names are optional and should be omitted when a service contains a single binding. If a service provides two or more bindings, then they all must have names.
Names are part of the [service discovery](/docs/service_discovery.md) protocol.
Names are part of the [service discovery](/docs/reference/service_discovery.md) protocol.
#### `connectionString` (string)
The connection string of the binding. Connection strings should be used when connecting to the binding requires additional information besides a URL. [Service discovery](/docs/service_discovery.md) treats connection string as a single opaque value and will ignore other properties like `port`.
The connection string of the binding. Connection strings should be used when connecting to the binding requires additional information besides a URL. [Service discovery](/docs/reference/service_discovery.md) treats connection string as a single opaque value and will ignore other properties like `port`.
As an example, connecting to a hosted redis using authentication requires a URL as well as username and password. Using a connection string is typical for databases or anything that requires authentication.
#### `protocol` (string)
Specifies the protocol used by the binding. The protocol is used in [service discovery](/docs/service_discovery.md) to construct a URL. It's safe to omit the `protocol` when it's not needed to connect to the service. As an example, connecting to redis without authentication only requires a hostname and port.
Specifies the protocol used by the binding. The protocol is used in [service discovery](/docs/reference/service_discovery.md) to construct a URL. It's safe to omit the `protocol` when it's not needed to connect to the service. As an example, connecting to redis without authentication only requires a hostname and port.
#### `host` (string)
Specifies the hostname used by the binding. The protocol is used in [service discovery](/docs/service_discovery.md) to construct a URL. It's safe to omit the `host` when localhost should be used for local development.
Specifies the hostname used by the binding. The protocol is used in [service discovery](/docs/reference/service_discovery.md) to construct a URL. It's safe to omit the `host` when localhost should be used for local development.
#### `port` (string)
Specifies the port used by the binding. The port is used in [service discovery](/docs/service_discovery.md) to construct a URL.
Specifies the port used by the binding. The port is used in [service discovery](/docs/reference/service_discovery.md) to construct a URL.
#### `internalPort` (string deprecated, use containerPort instead)
@ -63,7 +63,7 @@ This tutorial will demonstrate how to use [`tye run`](/docs/reference/commandlin
## Getting the frontend to communicate with the backend
Now that we have two applications running, let's make them communicate. By default, `tye` enables service discovery by injecting environment variables with a specific naming convention. For more information on, see [service discovery](/docs/service_discovery.md).
Now that we have two applications running, let's make them communicate. By default, `tye` enables service discovery by injecting environment variables with a specific naming convention. For more information on, see [service discovery](/docs/reference/service_discovery.md).
1. Add a NuGet.config to add the `dotnet-core` package source.
@ -115,7 +115,7 @@ Tye has a optional configuration file (`tye.yaml`) to allow customizing settings
`tye.yaml` lists all of the application's services under the `services` node. This is the place for per-service configuration.
See [schema](schema.md) for more details about `tye.yaml`.
See [schema](/docs/reference/schema.md) for more details about `tye.yaml`.
> :bulb: We provide a json-schema for `tye.yaml` and some editors support json-schema for completion and validation of yaml files. See [json-schema](/src/schema/README.md) for instructions.