This page is heavily out of date. It is currently in the process of being updated significantly.
Pixelfed uses the
.env environment configuration file, it is created automatically by the installer, otherwise you need to copy the
.env.example file to
.env manually. Some of these values do not exist in .env.example but you can add them to .env.
Whenever you edit the
.env file, you must run
php artisan config:cache in the root directory for the changes to take effect.
| ||Application name|| ||y|
| ||Application Environment |
This value determines the "environment" your application is currently running in. This may determine how you prefer to configure various services your application utilizes. Set this in your ".env" file. We recommend you set it to
| ||Encryption Key |
This key is used by the Illuminate encrypter service and should be set to a random, 32 character string, otherwise these encrypted strings will not be safe. Please do this before deploying an application!
| ||Application Debug Mode |
This is only used for development, for security reasons it should always be set to
| ||Application URL |
This is used to generate URLs, set this to your instance URL.
| ||Application Domain |
This value is used for routing, set it to the domain of your instance.
| ||Admin Dashboard Domain |
This value is used for your admin dashboard domain, its possible to use the same value as
| ||Log Channel |
This option defines the default log channel that gets used when writing messages to the logs. The name specified in this option should match one of the channels defined in the "channels" configuration array.
| ||Database Driver |
| ||Database Host |
The database host address.
| ||Database Port |
The database host port.
| ||Database Name |
The database name.
| ||Database Username |
The database username.
| ||Database Password |
The database user password.
Using redis for the
SESSION_DRIVER is optional.
| ||Redis Host |
The redis server host address.
| ||Redis Password |
The redis server host password.
| ||Redis Port |
The redis server port.
| ||Redis Database |
The redis server database index number.
| ||Open Registration |
Allow new user registrations.
| ||Enforce Email Verification |
Require new users to verify their email before they can do anything.
| ||Account file size limit |
Update the max account size, the per user limit of files in KB. Requires
| ||Photo file size limit |
Update the max photo size, in KB.
| ||Caption limit |
Change the caption length limit for new local posts.
| ||Bio length limit |
Change the bio length limit for user profiles.
| ||User name length limit |
Change the length limit for user names.
| ||Album size limit |
The max number of photos allowed per post.
| ||Image Quality |
Set the image optimization quality, must be a value between 1-100.
| ||Enable ActivityPub federation.|| ||n|