-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpixelfed.env.sample
90 lines (68 loc) · 1.85 KB
/
pixelfed.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# options from official sample+manual
# https://github.com/pixelfed/pixelfed/blob/dev/.env.example
# https://docs.pixelfed.org/technical-documentation/env.html
APP_NAME="Pixelfed"
APP_ENV=production
APP_KEY=123456789A123456789B123456789C12
APP_DEBUG=false
APP_URL=http://pixelfed.example.com
APP_DOMAIN=pixelfed.example.com
ADMIN_DOMAIN=pixelfed.example.com
SESSION_DOMAIN=pixelfed.example.com
TRUST_PROXIES="*"
LOG_CHANNEL=stack
DB_CONNECTION=mysql
#DB_CONNECTION=pgsql
DB_HOST=mysql
DB_PORT=3306
#DB_PORT=5432
DB_DATABASE=pixelfed
DB_USERNAME=pixelfed
DB_PASSWORD=pixelfedpassword
BROADCAST_DRIVER=log
CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_DRIVER=redis
REDIS_SCHEME=tcp
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=mail.example.com
MAIL_PORT=587
MAIL_PASSWORD=emailpassword
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="Pixelfed"
OPEN_REGISTRATION=false
ENFORCE_EMAIL_VERIFICATION=true
PF_MAX_USERS=100
MAX_PHOTO_SIZE=15000
MAX_CAPTION_LENGTH=300
MAX_ALBUM_LENGTH=8
ACTIVITY_PUB=false
AP_REMOTE_FOLLOW=false
AP_INBOX=false
PF_COSTAR_ENABLED=true
# options from testing sample
# https://github.com/pixelfed/pixelfed/blob/dev/.env.testing
ACTIVITYPUB_INBOX=false
ACTIVITYPUB_SHAREDINBOX=false
REMOTE_FOLLOW=false
CS_BLOCKED_DOMAINS='example.org,example.net'
CS_CW_DOMAINS='example.org,example.net'
CS_UNLISTED_DOMAINS='example.org,example.net'
# other options from docs
# https://docs.pixelfed.org/running-pixelfed/installation.html#configure-environment-variables
IMAGE_DRIVER=imagick
OAUTH_ENABLED=true
# other options from other sources
# https://github.com/pixelfed/pixelfed/issues/1509
SESSION_SECURE_COOKIE=true
MAX_ACCOUNT_SIZE=1000000
# https://github.com/pixelfed/pixelfed/issues/1522
MAX_BIO_LENGTH=300
MAX_NAME_LENGTH=25
IMAGE_QUALITY=80
STORIES_ENABLED=true