.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_NAME
APP_ENV
APP_KEY
secret
APP_DEBUG
APP_URL
This MUST contain the host name up to the Top Level Domain (tld) e.g. .com, .org etc.
APP_FORCE_HTTPS
DEBUGBAR_ENABLED
enable or disable debug bar. By default it is disabled. Do note that this disable CSP!!
VUEJS_ENABLED
enable or disable the v6 layout.
LOG_VIEWER_ENABLED
enable or disable log viewer. By default it is enabled.
CLOCKWORK_ENABLE
enable or disable clockwork. By default it is disabled (and not provided on non-dev build).
REQUIRE_CONTENT_TYPE_ENABLED
All API requests to have the header "content-type: application/json" or "content-type: multipart/form-data" depending on the type. If you…
LEGACY_V4_REDIRECT
If you spread old links of to your albums in your Lychee instance starting with https://lychee.text/#albumID/PhotoId Set this value to true…
DB_OLD_LYCHEE_PREFIX
Table prefix (e.g. lychee_) of a Lychee v3 instance for migration
DB_CONNECTION
DB_CONNECTION can be sqlite, mysql or pgsql. For sqlite the other entries are not required, but an existing sqlite3 database may be…
DB_HOST
DB_PORT
DB_USERNAME
DB_DATABASE=
DB_PASSWORD
secret
DB_LOG_SQL
DB_LOG_SQL_EXPLAIN