Configuration reference#
Squareone is configured at runtime through a YAML configuration file.
The path for this configuration file is set by the SQUAREONE_CONFIG_PATH environment variable in production, and defaults to squareone.config.yaml in development.
This page documents the schema of that configuration file.
Squareone Configuration#
Publicly-viewable configuration for a Squareone instance.
squareone.config.schema.json |
||||
type |
object |
|||
properties |
||||
|
Site name |
|||
Used as the basis of the HTML title tag. This should be customized for each science platform deployment. |
||||
type |
string |
|||
default |
Rubin Science Platform |
|||
|
Site description |
|||
Used as the default site description in the HTML meta.. |
||||
type |
string |
|||
default |
Welcome to the Rubin Science Platform |
|||
|
Base URL for the public ingress |
|||
Used for computing absolute URLs |
||||
type |
string |
|||
default |
||||
|
Phalanx environment name |
|||
Used in telemetry |
||||
type |
string |
|||
default |
development |
|||
|
Base URL for the user documentation site. |
|||
Used for computing URLs for user documentation pages for this RSP instance. The default is for the public RSP. For USDF, use |
||||
type |
string |
|||
default |
||||
|
Semaphore URL |
|||
URL prefix of the Semaphore API service for obtaining notifications and broadcasts. Does not end in /. Omit or set as null to disable Semaphore features. |
||||
type |
string |
|||
|
Times Square API URL |
|||
URL prefix of the Times Square API service. Does not end in /. Omit or set as null to disable the /times-square/ pages. |
||||
type |
string |
|||
|
COmanage registry URL (e.g. https://id.lsst.cloud). Omit or set as null for non-COmanage deployments. |
|||
type |
string |
|||
|
Plausible tracking domain |
|||
Domain (e.g. data.lsst.cloud) for Plausible tracking. Omit to disable Plausible. |
||||
type |
string |
|||
|
MDX content directory |
|||
Directory path where MDX content files are located. Can be relative (development) or absolute (production with ConfigMap). |
||||
type |
string |
|||
default |
src/content/pages |
|||
|
Footer MDX content path |
|||
Path to MDX file for footer content, relative to mdxDir. If not provided, uses default hardcoded footer content. |
||||
type |
string |
|||
default |
footer.mdx |
|||
|
Sentry traces sample rate |
|||
The percentage of traces to send to sentry. A number between 0 and 1 inclusive, where zero means don’t send any traces, and 1 means send all traces. |
||||
type |
number |
|||
|
Sentry replay session sample rate |
|||
The percentage of replay sessions to send to Sentry. A number between 0 and 1 inclusive, where zero means don’t send any sessions, and 1 means send all sessions. |
||||
type |
number |
|||
default |
0.0 |
|||
|
Sentry error replay session sample rate |
|||
The percentage of replay sessions to send to Sentry when an error occurs. A number between 0 and 1 inclusive, where zero means don’t send any sessions, and 1 means send all sessions. |
||||
type |
number |
|||
default |
1.0 |
|||
|
Sentry debug |
|||
Setting this option to true will print useful information to the console while you’re setting up Sentry. |
||||
type |
boolean |
|||
default |
False |
|||
|
Enable the Apps menu |
|||
Setting this option to true will enable the Apps menu in the header. |
||||
type |
boolean |
|||
default |
False |
|||
|
Application links |
|||
Links to be displayed in the Apps menu |
||||
type |
array |
|||
default |
||||
items |
type |
object |
||
properties |
||||
|
Display label for the link |
|||
type |
string |
|||
|
URL or path for the link |
|||
type |
string |
|||
|
Whether this is an internal route or external URL |
|||
type |
boolean |
|||
|
Show preview badge |
|||
Whether to show the preview badge on the homepage hero |
||||
type |
boolean |
|||
default |
False |
|||
|
Preview badge link URL |
|||
URL for the preview badge link |
||||
type |
string |
|||
default |
||||
|
Header logo URL |
|||
HTTPS URL to an external logo image. Takes priority over headerLogoData if both are set. If neither URL nor data is provided, uses the default Rubin Observatory logo. When using this option, headerLogoWidth must also be provided. |
||||
type |
string |
|||
pattern |
^https:// |
|||
|
Header logo base64 data |
|||
Base64-encoded image data (without the data URL prefix). Must be used together with headerLogoMimeType and headerLogoWidth. Used only if headerLogoUrl is not provided. |
||||
type |
string |
|||
|
Header logo MIME type |
|||
MIME type for the base64-encoded logo data (e.g., ‘image/png’, ‘image/jpeg’, ‘image/svg+xml’). Required when headerLogoData is provided. |
||||
type |
string |
|||
enum |
image/png, image/jpeg, image/jpg, image/svg+xml, image/webp, image/gif |
|||
|
Header logo height |
|||
Height of the header logo in pixels. |
||||
type |
number |
|||
minimum |
1 |
|||
default |
50 |
|||
|
Header logo width |
|||
Width of the header logo in pixels. Required when using headerLogoUrl or headerLogoData to ensure correct aspect ratio. |
||||
type |
number |
|||
minimum |
1 |
|||
|
Header logo alt text |
|||
Alternative text for the header logo for accessibility. |
||||
type |
string |
|||
default |
Logo |
|||
additionalProperties |
False |
|||