Hub

Server admin hub

All application repositories on Turbo Server are managed from the Hub page of the Administration Site.

For more information on adding application repositories to the Hub, see Deploying to Turbo Server

Managing Repositories

Server admin edit repository

On the repository edit page, a repository display name can be modified. This shows up in the hub administration page list. The repository ID field cannot be modified and is assigned when the first container image is pushed to the hub. The versions list shows all available images that are available for this repository. They can be referenced by their tag or their ID (ex, "mozilla/firefox:64.0" or "mozilla/firefox#44397e23bf46a08a8a567ba13b2c215668d451c9dde41b030706779dc977cc02"). Accessing a repository without a tag or ID will use the latest available image (ex, "mozilla/firefox"). Note that any repository updates may take up to 24hrs to be automatically retrieved by the Turbo Client.

The Pre-cache setting specifies whether to cache the repository on application servers. Pre-cached repositories are pulled onto the application servers every 10 minutes.

The Federation section allows enabling or disabling repository federation from a configured federation source. The selected federation source's settings will be used to determine the federation behavior. If you wish to create a new federation source, please see Federation.

Importing Repositories

Server admin import repository

With the Import Repository feature, you can import repositories from an external Hub server, such as the Turbo.net Hub, into your local Turbo Server Hub. To import a repository, click the Add Repository dropdown on the Hub page and click Import Repository. The import page has the following options available:

  • Hub Source URL: The Hub server from which the repository will be imported. By default only Turbo.net is available, however if you have domain federation enabled the source domain will also be available.
  • Repository Id: The name of the external repository. For example, mozilla/firefox.
  • Release: Only revisions with this release are imported from the external repository. Leave blank to import without release restrictions.
  • Revision History Length: The number of revisions to pull from the remote repository. The default value is 1 revision. Revisions are imported in descending release order.
  • API Key: The API key used to access private repositories from the source Hub. This field is not required for public repositories.

After setting the properties, click Import. The import may take a few minutes to complete depending on the size of the repository. After the import is complete you will see the new repository in your main repository list on the Hub administration page.

Imported repositories will enable federation from the import source URL by default. Federation may be disabled from the repository settings page.

API Keys

Server admin hub api keys

API Keys allow you to login to your hub with a code other than with a username/password. This is useful when configuring automation or in other scenarios where a plain text password is not desirable. If an API Key has been compromised, it can be refreshed to a new value or deleted to immediately revoke access.

Additional, you can configure a Configuration API Key used by the Launch Configuration Service to post custom application configurations. Configurations posted with this API key are publicly accessibly. This setting is recommended if you will be using an external portal instead of the Turbo Portal.

The length of time (in milliseconds) that a configuration is valid after it is added to the launch configuration service can be configured with that Configuration Cache Expiration setting. This timeout is reset any time the application configuration is accessed, such as during an application launch.

Server admin add API key

When adding an API Key, give it a name that describes the general usage of the key. It is also recommended to have distinct keys for distinct usages so that if one is compromised or updated, all usages will not require update. Run as System controls whether the key is given administrative privileges to push new images or delete repositories. Without this setting, the API key will only have read access to repositories.

Federation

The Federation page allows you to configure repository federation sources, which can be selected during repository import or applied to individual repositories to reduce setup time and keep repositories in sync across domains. Repositories that have federation enabled will periodically check the source domain for updates and pull any changes.

Please be aware that any setting changes to a federated repository will be overwritten by the repository settings on the source domain.

Federation sources can be configured with the following settings:

  • Source Domain URL: The federation source domain URL from which repositories will be replicated.
  • API Key (Optional): The API key used to access repositories from the federation source. This API key must be configured as a system-level key on the source server. This setting is not required for public hubs. For more information, see API Keys.
  • Default Synchronization Frequency: The frequency at which this server will check the federation source for updates.