Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2083 from pixelfed/staging
Staging
- Loading branch information
Showing
92 changed files
with
5,378 additions
and
892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: 1 | ||
|
||
update_configs: | ||
- package_manager: "php:composer" | ||
directory: "/" | ||
update_schedule: "daily" | ||
# Supported update schedule: live daily weekly monthly | ||
target_branch: "staging" | ||
version_requirement_updates: "auto" | ||
# Supported version requirements: auto widen_ranges increase_versions increase_versions_if_necessary | ||
allowed_updates: | ||
- match: | ||
dependency_type: "all" | ||
# Supported dependency types: all indirect direct production development | ||
update_type: "all" | ||
# Supported update types: all security | ||
|
||
- package_manager: "javascript" | ||
directory: "/" | ||
update_schedule: "daily" | ||
# Supported update schedule: live daily weekly monthly | ||
target_branch: "staging" | ||
version_requirement_updates: "auto" | ||
# Supported version requirements: auto widen_ranges increase_versions increase_versions_if_necessary | ||
allowed_updates: | ||
- match: | ||
dependency_type: "all" | ||
# Supported dependency types: all indirect direct production development | ||
update_type: "all" | ||
# Supported update types: all security | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
## Crypto | ||
APP_KEY= | ||
|
||
## General Settings | ||
APP_NAME="Pixelfed Prod" | ||
APP_ENV=production | ||
APP_DEBUG=false | ||
APP_URL=https://real.domain | ||
APP_DOMAIN="real.domain" | ||
ADMIN_DOMAIN="real.domain" | ||
SESSION_DOMAIN="real.domain" | ||
|
||
OPEN_REGISTRATION=true | ||
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_DRIVER=log | ||
MAIL_HOST=smtp.mailtrap.io | ||
MAIL_PORT=2525 | ||
MAIL_FROM_ADDRESS="pixelfed@example.com" | ||
MAIL_FROM_NAME="Pixelfed" | ||
MAIL_USERNAME=null | ||
MAIL_PASSWORD=null | ||
MAIL_ENCRYPTION=null | ||
|
||
## Databases (MySQL) | ||
DB_CONNECTION=mysql | ||
DB_HOST=127.0.0.1 | ||
DB_PORT=3306 | ||
DB_DATABASE=pixelfed | ||
DB_USERNAME=pixelfed | ||
DB_PASSWORD=pixelfed | ||
|
||
## Databases (Postgres) | ||
#DB_CONNECTION=pgsql | ||
#DB_HOST=postgres | ||
#DB_PORT=5432 | ||
#DB_DATABASE=pixelfed | ||
#DB_USERNAME=postgres | ||
#DB_PASSWORD=postgres | ||
|
||
## Cache (Redis) | ||
REDIS_CLIENT=phpredis | ||
REDIS_SCHEME=tcp | ||
REDIS_HOST=redis | ||
REDIS_PASSWORD=null | ||
REDIS_PORT=6379 | ||
REDIS_DATABASE=0 | ||
|
||
## EXPERIMENTS | ||
EXP_LC=false | ||
EXP_REC=false | ||
EXP_LOOPS=false | ||
|
||
## ActivityPub Federation | ||
ACTIVITY_PUB=false | ||
AP_REMOTE_FOLLOW=false | ||
AP_SHAREDINBOX=false | ||
AP_INBOX=false | ||
AP_OUTBOX=false | ||
ATOM_FEEDS=true | ||
NODEINFO=true | ||
WEBFINGER=true | ||
|
||
## S3 | ||
FILESYSTEM_DRIVER=local | ||
FILESYSTEM_CLOUD=s3 | ||
PF_ENABLE_CLOUD=false | ||
#AWS_ACCESS_KEY_ID= | ||
#AWS_SECRET_ACCESS_KEY= | ||
#AWS_DEFAULT_REGION= | ||
#AWS_BUCKET= | ||
#AWS_URL= | ||
#AWS_ENDPOINT= | ||
#AWS_USE_PATH_STYLE_ENDPOINT=false | ||
|
||
## Horizon | ||
HORIZON_DARKMODE=false | ||
|
||
## COSTAR - Confirm Object Sentiment Transform and Reduce | ||
PF_COSTAR_ENABLED=false | ||
|
||
# Media | ||
MEDIA_EXIF_DATABASE=false | ||
|
||
## Logging | ||
LOG_CHANNEL=stack | ||
|
||
## 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= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.