The following table lists all available configuration options for Tailscale on Runway.
Set these options with:
runway app config -a my-app set \
TS_AUTHKEY=tskey-auth... \
TS_HOSTNAME=my-app
runway app restart -a my-app
runway service config set db-psql \
TS_AUTHKEY=tskey-auth... \
TS_HOSTNAME=db-psql
runway service db-psql restart
The following table lists all environment variables that you can use to customize the integration with Tailscale. They work for applications and services on Runway.
Name | Default | Required | Description |
---|---|---|---|
TS_AUTHKEY | empty | yes | The key to authenticate with. Enables Tailscale integration. |
TS_HOSTNAME | empty | no | Sets the DNS name of the application in Tailscale. |
TS_AUTH_ONCE | false | no | If true, only try to log-in if not already logged-in. |
TS_ENABLE_METRICS | false | no | Enable the Prometheus metrics. |
TS_TAG1 | empty | no | See our guide on working with tags. |
TS_LOGIN_SERVER1 | empty | no | Connect to your own controlserver (e.g. headscale or ionscale). |
1: The `TS_TAG` and `TS_LOGIN_SERVER` options are custom to Runway's integration with Tailscale.