Skip to content

Configuration

You can personalize your Userli instance by creating .env.local, which overrides some values from .env. You should at least configure the following values.

APP_ENV=prod
APP_SECRET=<random secret string>
APP_URL=https://users.example.org
DATABASE_URL=mysql://userli:<password>@127.0.0.1:3306/userli
MAILER_DSN=smtp://localhost:25
PROJECT_NAME=example.org
PROJECT_URL=https://www.example.org
SENDER_ADDRESS=userli@example.org
NOTIFICATION_ADDRESS=admin@example.org

Look into .env to get more information about variables and how to handle them.