Skip to content

Env Configuration

This document introduces the configuration details of the .env file. The file location is backend/env/.env.

Field Description

FieldDescription
AGBOX_HOSTService startup address
AGBOX_PORTService startup port
AGBOX_DEBUGWhether to enable debug mode
AGBOX_TOKEN_EXPIRE_HOURAuthentication Token expiration time
AGBOX_USERNAMEUsername
AGBOX_PASSWORDPassword (encrypted storage, cannot log in to AgBox when empty)
AGBOX_ROBOTS_MARKET_URLEmployee marketplace index file URL
AGBOX_SKILLSMP_API_URLskillsmp skill marketplace URL
AGBOX_MAX_IMAGE_SIZEImage upload size limit
AGBOX_MAX_FILE_SIZEFile upload size limit
AGBOX_LANGLanguage configuration (request logic prioritizes the frontend language configuration)
AGBOX_SKILLS_OVERWRITEOverwrite existing skills
AGBOX_SKILLS_FORMAT_CHECKCheck skill format
AGBOX_ROBOTS_OVERWRITEOverwrite existing digital employees
AGBOX_ROBOTS_FORMAT_CHECKCheck digital employee format
AGBOX_ROBOTS_CREATE_IMPORT_HERMES_SELF_SKILLSWhether to install Hermes official skills when importing digital employees
AGBOX_SCHEDULER_MAX_JOBSMaximum number of scheduler tasks
AGBOX_SCHEDULER_COALESCEWhether the scheduler processes missed tasks
AGBOX_SCHEDULER_MAX_INSTANCESMaximum number of instances per scheduler task