YunoHost-Apps / pixelfed_ynh

The federated image shareing service Pixelfed for YunoHost
https://pixelfed.org/
GNU Affero General Public License v3.0
44 stars 15 forks source link

No account size parameter in the .env file #81

Closed stemy2 closed 5 years ago

stemy2 commented 5 years ago

Hello,

I'd like to set the account size to infinite, but as you can see in the copypasta of my actual .env file here below, the parameters MAX_ACCOUNT_SIZE and LIMIT_ACCOUNT_SIZE are not present, and it does nothing if i add it manually.

APP_NAME=pixelfed
APP_ENV=production
APP_KEY=base64:x5grZfdR4T/zNgybcbplPA+G86rqmb7fdYyvJnOwKpM=
APP_DEBUG=false

APP_URL=https://pixelfed.stemy.me
ADMIN_DOMAIN="pixelfed.stemy.me"
APP_DOMAIN="pixelfed.stemy.me"
SESSION_DOMAIN="${APP_DOMAIN}"
SESSION_SECURE_COOKIE=true
TRUST_PROXIES="*"

LOG_CHANNEL=stack

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=pixelfed
DB_USERNAME=pixelfed
DB_PASSWORD=52BF4ieIutKqcrs35Ml0KCLt

BROADCAST_DRIVER=log
CACHE_DRIVER=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=120
QUEUE_DRIVER=redis

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="pixelfed@pixelfed.stemy.me"
MAIL_FROM_NAME="Pixelfed"

OPEN_REGISTRATION=true
ENFORCE_EMAIL_VERIFICATION=true
PF_MAX_USERS=1000

MAX_PHOTO_SIZE=15000
MAX_CAPTION_LENGTH=150
MAX_ALBUM_LENGTH=4

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

PF_COSTAR_ENABLED=true
CS_BLOCKED_DOMAINS='gab.com,gab.ai,develop.gab.com'
CS_CW_DOMAINS='switter.at'
CS_UNLISTED_DOMAINS='example.org,example.net,example.com'

## Optional 
#HORIZON_DARKMODE=false  # Horizon theme darkmode
#HORIZON_EMBED=false  # Single Docker Container mode 

ADMIN_ENV_EDITOR=true
yalh76 commented 5 years ago

Please report on https://github.com/pixelfed/pixelfed/issues pixelfed_ynh .env file is based on piixelfed example: https://github.com/pixelfed/pixelfed/blob/dev/.env.example