.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
APP_ENV
Two choices: local|production. Use local if you want to install Monica as a development version. Use production otherwise.
APP_DEBUG
true if you want to show debug information on errors. For production, put this to false.
APP_KEY
secret
The encryption key. This is the most important part of the application. Keep this secure otherwise, everyone will be able to access your…
HASH_SALT
Prevent information leakage by referring to IDs with hashIds instead of the actual IDs used in the database.
HASH_LENGTH
APP_URL
The URL of your application.
APP_FORCE_URL
Force using APP_URL as base url of your application. You should not need this, unless you are using subdirectory config.
DB_CONNECTION
Database information To keep this information secure, we urge you to change the default password Currently only "mysql" compatible servers…
DB_HOST
DB_PORT
DB_DATABASE
You can use mysql unix socket if available, it overrides DB_HOST and DB_PORT values. DB_UNIX_SOCKET=/var/run/mysqld/mysqld.sock
DB_USERNAME
DB_PASSWORD
secret
DB_PREFIX
DB_TEST_HOST
DB_TEST_PORT
DB_TEST_DATABASE
DB_TEST_USERNAME
DB_TEST_PASSWORD
secret
DB_USE_UTF8MB4
Use utf8mb4 database charset format to support emoji characters ⚠ be sure your DBMS supports utf8mb4 format