slug: /env
Environment Variables
Installation
INSTALL_PORT: specifies the port to boot when installation, default is 80.AUTO_INSTALL: if set to true, the installation will be completed automatically by environment variable.
For auto install
DB_TYPE: database type, support [sqlite3 mysql postgres]DB_USERNAME: database usernameDB_PASSWORD: database passwordDB_HOST: database host, like 127.0.0.1:3306DB_NAME: database nameDB_FILE: database file path, only for sqlite3LANGUAGE: language, like en-USSITE_NAME: site name Apache AnswerSITE_URL: site url, https://answer.apache.orgCONTACT_EMAIL: contact emailADMIN_NAME: admin nameADMIN_PASSWORD: admin passwordADMIN_EMAIL: admin emailEXTERNAL_CONTENT_DISPLAY: content includes images, videos, and media embedded from external websites. support [always_display ask_before_display]
For overriding the config file
SWAGGER_HOST - address for the swagger to display, like 192.168.12.12 or answer.apache.orgSWAGGER_ADDRESS_PORT - port for the swagger to display, like :3000SITE_ADDR - address that the site should run, like 0.0.0.0:3000
Log
LOG_LEVEL: log level support [DEBUG INFO WARN ERROR]LOG_PATH: log storage location