Configuration options
A list of all available configuration options for PERSEUS.
- Initialization
- Frontend configuration
- MongoDB configuration
- Routing
- LDAP configuration
- Mail configuration
- Data privacy configuration
- Backup configuration
- Notifications configuration
- Workflow configuration
Initialization
Section titled “Initialization”| Environment variable | Description | Default value |
|---|---|---|
| FIRST_OWNER | The username of the first user after starting PERSEUS - the OWNER role is assigned to this user | "" |
| DEMO | PERSEUS demo mode, will create mockup data and enables the demo mode. | False |
| DEMO_REDUCED_MOCK_DATA | Only together with | False |
Frontend configuration
Section titled “Frontend configuration”| Environment variable | Description | Default value |
|---|---|---|
| FRONTEND_URL | The URL of the frontend, will be used to allow API requests from that origin. | http://localhost:5173 |
| CROSS_SITE_COOKIES | Set to | False |
MongoDB configuration
Section titled “MongoDB configuration”| Environment variable | Description | Default value |
|---|---|---|
| MONGODB_URI | The URI of the MongoDB instance |
|
| MONGODB_DATABASE_NAME | The database name for everything except files | perseus |
| MONGODB_DATABASE_GRID_FS_NAME | The database name for placing files | perseus-files |
Routing
Section titled “Routing”| Environment variable | Description | Default value |
|---|---|---|
| PERSEUS_PATH_PREFIX | Path prefix of the PERSEUS core instance | "" |
LDAP configuration
Section titled “LDAP configuration”Click here to get a full list of configuration options for LDAP.
In addition to the options listed there:
| Environment variable | Description | Default value |
|---|---|---|
| LDAP_USER_ATTRIBUTE | LDAP attribute that contains the username of a person. Used, for example, to resolve the persons mentioned in project notes. | uid |
Mail configuration
Section titled “Mail configuration”Click here to get a full list of configuration options for configuring the mail system.
The following options define how your HPC center is presented in the HTML emails sent by PERSEUS (e.g. invitations to compute projects):
| Environment variable | Description | Default value |
|---|---|---|
| CENTER_NAME | Name of the HPC center, shown in the footer of HTML emails (e.g.
| "" |
| CENTER_ABBREVIATION | Abbreviation of the HPC center, used as alternative text of the logo in HTML emails | "" |
| CENTER_LOGO_URL | Publicly reachable URL of the logo shown in the header of HTML emails | <ANDROMEDA_URL>/icon_long.png |
Data privacy configuration
Section titled “Data privacy configuration”| Environment variable | Description | Default value |
|---|---|---|
| DELETE_UNASSIGNED_PERSONS | Delete Person objects from PERSEUS, if the person is not connected to a project anymore | True |
| DELETE_UNASSIGNED_PERSONS_CREATION_GRACE_PERIOD | Only together with | 366 |
| LOGS_STORE_PERIOD | After this amount of days, PERSEUS will delete old logs | 90 |
Backup configuration
Section titled “Backup configuration”| Environment variable | Description | Default value |
|---|---|---|
| CREATE_BACKUPS | If PERSEUS should produce backups | True |
| RESTORE_BACKUPS | If PERSEUS should restore its database contents from a backup | False |
| PERSEUS_BACKUP_RESTORE_ID | Name to the backup file (without “.tar”) which PERSEUS restores | None |
| BACKUP_PATH | Directory in which backups are stored. Mount a volume here to keep backups outside of the container. | perseus/backups |
| BACKUP_KEEP_DAILY | Number of days for which the newest backup of each day is kept | 7 |
| BACKUP_KEEP_WEEKLY | Number of weeks for which one backup per week is kept | 8 |
| BACKUP_KEEP_MONTHLY | Number of months for which one backup per month is kept | 12 |
If CREATE_BACKUPS is enabled, PERSEUS creates a backup every night at 3:00 (time zone of the server). Older backups are removed according to the BACKUP_KEEP_* options
(grandfather-father-son rotation): for the last days, every day keeps its newest backup; for the last weeks and months,
one backup per week or month is kept. A backup is deleted once it is not covered by any of these rules. Setting an option to 0 disables the corresponding rule.
Notifications configuration
Section titled “Notifications configuration”| Environment variable | Description | Default value |
|---|---|---|
| SEND_NOTIFICATION_EXPIRING_TOKEN_DAYS | Sends an e-mail x days before a token expires to roles CLUSTER_ADMIN and OWNER | 14 |
Workflow configuration
Section titled “Workflow configuration”| Environment variable | Description | Default value |
|---|---|---|
| WORKFLOW_ENGINE_ENABLED | If PERSEUS should run the workflow engine (event listeners and the once-a-minute execution check) | True |
| WORKFLOW_CATCHUP_MAX_SECONDS | Maximum look-back window, in seconds, used to catch up on missed time-based triggers after downtime | 86400 |