pixelfed/.env.example

79 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-06-15 09:38:52 +00:00
APP_NAME="Pixelfed"
2022-06-15 09:39:50 +00:00
APP_ENV="production"
2019-04-22 04:20:47 +00:00
APP_KEY=
2022-06-15 09:38:52 +00:00
APP_DEBUG="false"
2018-04-15 23:56:48 +00:00
2022-06-15 10:10:35 +00:00
# Instance Configuration
2022-06-15 09:38:52 +00:00
OPEN_REGISTRATION="false"
ENFORCE_EMAIL_VERIFICATION="false"
PF_MAX_USERS="1000"
OAUTH_ENABLED="true"
2022-06-15 10:10:35 +00:00
# Media Configuration
2022-06-15 09:38:52 +00:00
PF_OPTIMIZE_IMAGES="true"
IMAGE_QUALITY="80"
MAX_PHOTO_SIZE="15000"
MAX_CAPTION_LENGTH="500"
MAX_ALBUM_LENGTH="4"
# Instance URL Configuration
APP_URL="http://localhost"
APP_DOMAIN="localhost"
2019-05-06 06:20:56 +00:00
ADMIN_DOMAIN="localhost"
2019-04-16 03:35:14 +00:00
SESSION_DOMAIN="localhost"
2019-04-22 04:12:01 +00:00
TRUST_PROXIES="*"
2022-06-15 09:38:52 +00:00
# Database Configuration
DB_CONNECTION="mysql"
DB_HOST="127.0.0.1"
DB_PORT="3306"
DB_DATABASE="pixelfed"
DB_USERNAME="pixelfed"
DB_PASSWORD="pixelfed"
2018-04-15 23:56:48 +00:00
2022-06-15 09:38:52 +00:00
# Redis Configuration
2022-06-25 02:21:50 +00:00
REDIS_CLIENT="predis"
2022-06-15 09:38:52 +00:00
REDIS_SCHEME="tcp"
REDIS_HOST="127.0.0.1"
REDIS_PASSWORD="null"
REDIS_PORT="6379"
2018-04-15 23:56:48 +00:00
2022-06-15 09:38:52 +00:00
# Laravel Configuration
SESSION_DRIVER="database"
CACHE_DRIVER="redis"
QUEUE_DRIVER="redis"
BROADCAST_DRIVER="log"
LOG_CHANNEL="stack"
2022-05-15 04:46:09 +00:00
HORIZON_PREFIX="horizon-"
2022-06-15 09:38:52 +00:00
# ActivityPub Configuration
ACTIVITY_PUB="false"
AP_REMOTE_FOLLOW="false"
AP_INBOX="false"
AP_OUTBOX="false"
AP_SHAREDINBOX="false"
# Experimental Configuration
EXP_EMC="true"
2018-04-15 23:56:48 +00:00
2022-06-15 09:38:52 +00:00
## Mail Configuration (Post-Installer)
MAIL_DRIVER=log
2018-04-15 23:56:48 +00:00
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
2018-08-10 18:03:56 +00:00
MAIL_FROM_ADDRESS="pixelfed@example.com"
MAIL_FROM_NAME="Pixelfed"
2022-06-15 10:10:35 +00:00
## S3 Configuration (Post-Installer)
PF_ENABLE_CLOUD=false
FILESYSTEM_CLOUD=s3
#AWS_ACCESS_KEY_ID=
#AWS_SECRET_ACCESS_KEY=
#AWS_DEFAULT_REGION=
#AWS_BUCKET=<BucketName>
#AWS_URL=
#AWS_ENDPOINT=
#AWS_USE_PATH_STYLE_ENDPOINT=false