Upgrading Quay

Chihaya Setup

The Chihaya project is an open source BitTorrent tracker that supports JWT-based authorization. It is the preferred tracker for making use of the secure BitTorrent-based distribution feature in Quay Enterprise.

Initial Setup

Basic configuration

Copy the following file as chihaya.yaml, replacing {QELOCATION} and {TRACKERLOCATION} with
the reachable endpoint for the Quay Enterprise instance and the tracker itself, respectively.

Security

It is recommended to place the tracker behind an SSL-terminating proxy or load balancer of some kind, especially if publicly facing. If setup this way, make sure to update the jwtAudience value in the configuration to have https as its prefix, and to refer to the load balancer.

High Availability

High Availability of the tracker can be handled by running 2 or more instances of the tracker, with one setup as primary and another as secondary, configured with automatic failover. A simple HTTP check can be used to ensure the health of each instance.