Skip to content

Configuration options

A list of all available configuration options for PERSEUS.

Environment variableDescriptionDefault 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
Environment variableDescriptionDefault 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 True if frontend and core are served on different origins

False
Environment variableDescriptionDefault value
MONGODB_URIThe URI of the MongoDB instance

mongodb://localhost:27017

MONGODB_DATABASE_NAMEThe database name for everything except filesperseus
MONGODB_DATABASE_GRID_FS_NAMEThe database name for placing filesperseus-files
Environment variableDescriptionDefault value
PERSEUS_PATH_PREFIXPath prefix of the PERSEUS core instance""

Click here to get a full list of configuration options for LDAP.

Click here to get a full list of configuration options for configuring the mail system.

Environment variableDescriptionDefault value
DELETE_UNASSIGNED_PERSONS

Delete Person objects from PERSEUS, if the person is not connected to a project anymore

True
LOGS_STORE_PERIODAfter this amount of days, PERSEUS will delete old logs90
Environment variableDescriptionDefault value
CREATE_BACKUPSIf PERSEUS should produce backupsTrue
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
Environment variableDescriptionDefault value
SEND_NOTIFICATION_EXPIRING_TOKEN_DAYS

Sends an e-mail x days before a token expires to roles CLUSTER_ADMIN and OWNER

14