From 6336f831fe5f8eb146dfc97d6c3dac7daa6d2679 Mon Sep 17 00:00:00 2001 From: Shlee Date: Mon, 6 May 2019 14:21:41 +0800 Subject: [PATCH] Update .env.testing --- .env.testing | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/.env.testing b/.env.testing index e28316175..ee8dadcc6 100644 --- a/.env.testing +++ b/.env.testing @@ -2,10 +2,13 @@ APP_NAME="PixelFed Test" APP_ENV=local APP_KEY=base64:lwX95GbNWX3XsucdMe0XwtOKECta3h/B+p9NbH2jd0E= APP_DEBUG=true -APP_URL=https://pixelfed.dev -ADMIN_DOMAIN="pixelfed.dev" +APP_URL=https://pixelfed.dev APP_DOMAIN="pixelfed.dev" +ADMIN_DOMAIN="pixelfed.dev" +SESSION_DOMAIN="pixelfed.dev" +SESSION_SECURE_COOKIE=true +TRUST_PROXIES="*" LOG_CHANNEL=stack @@ -35,28 +38,29 @@ MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="pixelfed@example.com" MAIL_FROM_NAME="Pixelfed" -SESSION_DOMAIN="${APP_DOMAIN}" -SESSION_SECURE_COOKIE=true -API_BASE="/api/1/" -API_SEARCH="/api/search" - -OPEN_REGISTRATION=false -ENFORCE_EMAIL_VERIFICATION=true +OPEN_REGISTRATION=true +ENFORCE_EMAIL_VERIFICATION=false +PF_MAX_USERS=1000 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}" +ACTIVITY_PUB=false +REMOTE_FOLLOW=false +ACTIVITYPUB_INBOX=false +ACTIVITYPUB_SHAREDINBOX=false +# Set these "true" to enable federation. +# You might need to also run: +# php artisan cache:clear +# php artisan optimize:clear +# php artisan optimize -TELESCOPE_ENABLED=false -PF_MAX_USERS=1000 - -PF_COSTAR_ENABLED=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