mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 17:01:05 +01:00
138 lines
2.5 KiB
Django/Jinja
138 lines
2.5 KiB
Django/Jinja
## Crypto
|
|
APP_KEY={{pixelfed_app_key}}
|
|
|
|
## General Settings
|
|
APP_NAME="{{pixelfed_app_name}}"
|
|
APP_ENV=production
|
|
APP_DEBUG=false
|
|
APP_URL=https://{{domain}}
|
|
APP_DOMAIN="{{domain}}"
|
|
ADMIN_DOMAIN="{{domain}}"
|
|
SESSION_DOMAIN="{{domain}}"
|
|
|
|
OPEN_REGISTRATION=false
|
|
ENFORCE_EMAIL_VERIFICATION=false
|
|
PF_MAX_USERS=1000
|
|
OAUTH_ENABLED=true
|
|
|
|
APP_TIMEZONE=UTC
|
|
APP_LOCALE=en
|
|
|
|
## Pixelfed Tweaks
|
|
LIMIT_ACCOUNT_SIZE=true
|
|
MAX_ACCOUNT_SIZE=1000000
|
|
MAX_PHOTO_SIZE=15000
|
|
MAX_AVATAR_SIZE=2000
|
|
MAX_CAPTION_LENGTH=500
|
|
MAX_BIO_LENGTH=125
|
|
MAX_NAME_LENGTH=30
|
|
MAX_ALBUM_LENGTH=4
|
|
IMAGE_QUALITY=80
|
|
PF_OPTIMIZE_IMAGES=true
|
|
PF_OPTIMIZE_VIDEOS=true
|
|
ADMIN_ENV_EDITOR=false
|
|
ACCOUNT_DELETION=true
|
|
ACCOUNT_DELETE_AFTER=false
|
|
MAX_LINKS_PER_POST=0
|
|
|
|
## Instance
|
|
#INSTANCE_DESCRIPTION=
|
|
INSTANCE_PUBLIC_HASHTAGS=false
|
|
#INSTANCE_CONTACT_EMAIL=
|
|
INSTANCE_PUBLIC_LOCAL_TIMELINE=false
|
|
#BANNED_USERNAMES=
|
|
STORIES_ENABLED=false
|
|
RESTRICTED_INSTANCE=false
|
|
|
|
## Mail
|
|
MAIL_DRIVER=log
|
|
MAIL_HOST={{system_email_host}}
|
|
MAIL_PORT={{system_email_port}}
|
|
MAIL_FROM_ADDRESS="{{system_email_username}}"
|
|
MAIL_FROM_NAME="Pixelfed"
|
|
MAIL_USERNAME={{system_email_username}}
|
|
MAIL_PASSWORD={{system_email_password}}
|
|
MAIL_ENCRYPTION=tls
|
|
|
|
## Databases (MySQL)
|
|
DB_CONNECTION=mysql
|
|
DB_DATABASE=pixelfed
|
|
DB_HOST=database
|
|
DB_PASSWORD="{{pixelfed_database_password}}"
|
|
DB_PORT=3306
|
|
DB_USERNAME=pixelfed
|
|
# pass the same values to the db itself
|
|
MYSQL_DATABASE="pixelfed"
|
|
MYSQL_USER="pixelfed"
|
|
MYSQL_PASSWORD="{{pixelfed_database_password}}"
|
|
MYSQL_ROOT_PASSWORD="{{pixelfed_database_password}}"
|
|
MARIADB_AUTO_UPGRADE="1"
|
|
|
|
## Cache (Redis)
|
|
REDIS_CLIENT=phpredis
|
|
REDIS_SCHEME=tcp
|
|
REDIS_HOST=redis
|
|
#REDIS_PASSWORD=
|
|
REDIS_PORT=6379
|
|
REDIS_DATABASE=0
|
|
|
|
HORIZON_PREFIX="horizon-"
|
|
|
|
## EXPERIMENTS
|
|
EXP_LC=false
|
|
EXP_REC=false
|
|
EXP_LOOPS=false
|
|
|
|
## ActivityPub Federation
|
|
ACTIVITY_PUB=true
|
|
AP_REMOTE_FOLLOW=true
|
|
AP_SHAREDINBOX=true
|
|
AP_INBOX=true
|
|
AP_OUTBOX=true
|
|
ATOM_FEEDS=true
|
|
NODEINFO=true
|
|
WEBFINGER=true
|
|
|
|
## S3
|
|
FILESYSTEM_DRIVER=local
|
|
FILESYSTEM_CLOUD=s3
|
|
PF_ENABLE_CLOUD=false
|
|
|
|
## Horizon
|
|
HORIZON_DARKMODE=false
|
|
|
|
## COSTAR - Confirm Object Sentiment Transform and Reduce
|
|
PF_COSTAR_ENABLED=false
|
|
|
|
# Media
|
|
MEDIA_EXIF_DATABASE=false
|
|
|
|
## Logging
|
|
LOG_CHANNEL=stderr
|
|
|
|
## Image
|
|
IMAGE_DRIVER=imagick
|
|
|
|
## Broadcasting
|
|
BROADCAST_DRIVER=log # log driver for local development
|
|
|
|
## Cache
|
|
CACHE_DRIVER=redis
|
|
|
|
## Purify
|
|
RESTRICT_HTML_TYPES=true
|
|
|
|
## Queue
|
|
QUEUE_DRIVER=redis
|
|
|
|
## Session
|
|
SESSION_DRIVER=redis
|
|
|
|
## Trusted Proxy
|
|
TRUST_PROXIES="*"
|
|
|
|
## Passport
|
|
#PASSPORT_PRIVATE_KEY=
|
|
#PASSPORT_PUBLIC_KEY=
|
|
|
|
ENABLE_CONFIG_CACHE=true |