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
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 |
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.
Mail configuration
Section titled “Mail configuration”Click here to get a full list of configuration options for configuring the mail system.
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 |
| 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 |
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 |