Configuring Linkup
Configuring Linkup
Linkup is configured using a yaml file when you start your linkup session. This file describes the services that make up your system, and how they should be combined into linkup sessions.
Here is an example:
Local environment variables
When booting local servers to run in linkup, they must be configured with environment variables that point to your linkup domain.
To do this, linkup appends the contents of .env.linkup
to the .env
file located in the directory
configuration field of the service.
Deploying remote services
The remote services you would like to make available to linkup sessions have a few requirements:
- They must be accessible at a public url
- Their environment variables must be configured to point to your linkup domain
- For requests from the remote service to be correctly routed to linkup sessions, they must be able to propagate trace contexts through requests made from the service. The easiest way to acheive this is to use an OpenTelemetry client library to instrument your http client. Here is an example for javascript.