computer-playbook/roles/docker-pixelfed/templates/env.j2

132 lines
2.3 KiB
Plaintext
Raw Normal View History

2022-11-16 11:17:37 +01:00
## Crypto
APP_KEY={{pixelfed_app_key}}
2022-11-16 11:17:37 +01:00
## General Settings
2022-11-17 10:46:07 +01:00
APP_NAME="{{pixelfed_app_name}}"
2022-11-16 11:17:37 +01:00
APP_ENV=production
APP_DEBUG=false
2022-11-16 12:27:49 +01:00
APP_URL=https://{{domain}}
APP_DOMAIN="{{domain}}"
ADMIN_DOMAIN="{{domain}}"
SESSION_DOMAIN="{{domain}}"
2022-11-16 11:17:37 +01:00
2022-11-16 12:27:49 +01:00
OPEN_REGISTRATION=false
2022-11-16 11:17:37 +01:00
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
2022-11-16 12:27:49 +01:00
MAIL_HOST={{system_email_host}}
2023-12-19 16:03:19 +01:00
MAIL_PORT={{system_email_smtp_port}}
2022-11-16 12:27:49 +01:00
MAIL_FROM_ADDRESS="{{system_email_username}}"
2022-11-16 11:17:37 +01:00
MAIL_FROM_NAME="Pixelfed"
2022-11-16 12:27:49 +01:00
MAIL_USERNAME={{system_email_username}}
MAIL_PASSWORD={{system_email_password}}
MAIL_ENCRYPTION=tls
2022-11-16 11:17:37 +01:00
## Databases (MySQL)
DB_CONNECTION=mysql
2024-01-06 14:32:49 +01:00
DB_DATABASE={{database_name}}
DB_HOST={{database_host}}
DB_PASSWORD="{{pixelfed_database_password}}"
2022-11-16 11:17:37 +01:00
DB_PORT=3306
DB_USERNAME={{database_username}}
2022-11-16 11:17:37 +01:00
## Cache (Redis)
REDIS_CLIENT=phpredis
REDIS_SCHEME=tcp
REDIS_HOST=redis
#REDIS_PASSWORD=
2022-11-16 11:17:37 +01:00
REDIS_PORT=6379
REDIS_DATABASE=0
HORIZON_PREFIX="horizon-"
## EXPERIMENTS
EXP_LC=false
EXP_REC=false
EXP_LOOPS=false
## ActivityPub Federation
2022-12-05 09:18:52 +01:00
ACTIVITY_PUB=true
AP_REMOTE_FOLLOW=true
AP_SHAREDINBOX=true
AP_INBOX=true
AP_OUTBOX=true
2022-11-16 11:17:37 +01:00
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