diff --git a/conf/.env b/conf/.env index 1d14f831..ea04653a 100644 --- a/conf/.env +++ b/conf/.env @@ -2,10 +2,13 @@ APP_NAME=__APP__ APP_ENV=production APP_KEY=__APP_KEY__ APP_DEBUG=false -APP_URL=https://__DOMAIN__ +APP_URL=https://__DOMAIN__ ADMIN_DOMAIN="__DOMAIN__" APP_DOMAIN="__DOMAIN__" +SESSION_DOMAIN="${APP_DOMAIN}" +SESSION_SECURE_COOKIE=true +TRUST_PROXIES="*" LOG_CHANNEL=stack @@ -35,37 +38,30 @@ MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="pixelfed@__DOMAIN__" MAIL_FROM_NAME="Pixelfed" -SESSION_DOMAIN="${APP_DOMAIN}" -SESSION_SECURE_COOKIE=true -API_BASE="/api/1/" -API_SEARCH="/api/search" - OPEN_REGISTRATION=true -RECAPTCHA_ENABLED=false ENFORCE_EMAIL_VERIFICATION=true +PF_MAX_USERS=1000 +RECAPTCHA_ENABLED=false MAX_PHOTO_SIZE=15000 MAX_CAPTION_LENGTH=150 MAX_ALBUM_LENGTH=4 -MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" -MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" -MIX_APP_URL="${APP_URL}" -MIX_API_BASE="${API_BASE}" -MIX_API_SEARCH="${API_SEARCH}" - -ACTIVITYPUB_INBOX=false -ACTIVITYPUB_SHAREDINBOX=false -HORIZON_DARKMODE=true - -# Set these both "true" to enable federation. +ACTIVITY_PUB=true +REMOTE_FOLLOW=true +ACTIVITYPUB_INBOX=true +ACTIVITYPUB_SHAREDINBOX=true +# Set these "true" to enable federation. # You might need to also run: # php artisan cache:clear # php artisan optimize:clear # php artisan optimize -ACTIVITY_PUB=true -REMOTE_FOLLOW=true +PF_COSTAR_ENABLED=false CS_BLOCKED_DOMAINS='example.org,example.net,example.com' CS_CW_DOMAINS='example.org,example.net,example.com' CS_UNLISTED_DOMAINS='example.org,example.net,example.com' + +## Optional +#HORIZON_DARKMODE=false # Horizon theme darkmode +#HORIZON_EMBED=false # Single Docker Container mode