ConvoqDocumentation Version 1.0.0

Run the platform · Keep it running

Settings reference

Every setting of the .env file and the command line tools.

Settings live in the .env file in the application folder, or in the environment of the server. The setup wizard writes the ones that are needed. Restart the application after a change.

#Settings

NameDefaultMeaning
APP_URLThe public address of the site, with https://.
APP_KEYcreated by the wizardSecret key, at least 32 characters. Never change it on a running site.
PORT4000The port the application listens on. cPanel sets this by itself.
CORS_ORIGINSAPP_URLOther addresses allowed to call the API from a browser, separated by commas.
DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORDThe database connection.
DB_POOL_MAX10The most database connections kept open. Lower it if your host allows only a few.
AUTO_MIGRATEoffon applies database updates at every start. The Docker image uses this.
SETUP_TOKENA secret word the setup wizard asks for.
UPDATE_RESTARTautoWhat happens after an update from the admin panel. auto restarts on cPanel and under pm2, exit always stops the application so that your process manager starts it again, manual leaves the restart to you.
WORKERSonBackground work inside this process. Leave it on.
MAIL_DRIVER, MAIL_HOST, MAIL_PORT, MAIL_SECURE, MAIL_USER, MAIL_PASSWORD, MAIL_FROMlogSMTP from the environment (MAIL_DRIVER=smtp). The Email page in the admin panel takes priority.
META_APP_ID, META_APP_SECRET, META_WEBHOOK_VERIFY_TOKEN, META_SIGNUP_CONFIG_ID, META_INSTAGRAM_APP_ID, META_INSTAGRAM_APP_SECRETYour Meta app. Normally set on Admin → Meta app instead; a value saved there wins.
META_GRAPH_VERSIONv21.0The Graph API version used for Meta calls.
STORAGE_PATHstorageFolder for uploads, relative to apps/api or an absolute path.
API_RATE_LIMIT300Requests per minute on the app's API, counted per signed-in user (per IP address for requests made before signing in).
AUTH_RATE_LIMIT10Sign-in, sign-up and password reset attempts per minute per IP address.
HTTP_ALLOW_PRIVATE_NETWORKfalseLets automations and webhooks call addresses inside your own network. Leave it off on a public service.
LOG_LEVELinfoerror, warn, info or debug.

#Command line

Nothing here is needed for a normal installation, but these commands exist when you have a terminal:

npm start                                   # start the application
npm run migrate                             # apply database updates
npm run create-admin -- --email [email protected] --password "at-least-8-chars"
npm run seed:demo                           # add a demo workspace ([email protected] / demo-pass-123)
Convoq documentation, version 1.0.0. Screens show demo data.