mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
70 lines
2 KiB
YAML
70 lines
2 KiB
YAML
openvk:
|
|
debug: true
|
|
appearance:
|
|
name: "OpenVK"
|
|
motd: "Yet another OpenVK instance"
|
|
|
|
preferences:
|
|
femaleGenderPriority: true
|
|
uploads:
|
|
disableLargeUploads: false
|
|
mode: "basic"
|
|
shortcodes:
|
|
minLength: 3 # won't affect existing short urls or the ones set via admin panel
|
|
forbiddenNames:
|
|
- "index.php"
|
|
security:
|
|
requireEmail: false
|
|
requirePhone: false
|
|
forcePhoneVerification: false
|
|
forceEmailVerification: false
|
|
enableSu: true
|
|
rateLimits:
|
|
actions: 5
|
|
time: 20
|
|
maxViolations: 50
|
|
maxViolationsAge: 120
|
|
autoban: true
|
|
registration:
|
|
enable: true
|
|
reason: "" # reason for disabling registration
|
|
support:
|
|
supportName: "Moderator"
|
|
adminAccount: 1 # Change this ok
|
|
messages:
|
|
strict: false
|
|
wall:
|
|
postSizes:
|
|
maxSize: 60000
|
|
processingLimit: 3000
|
|
emojiProcessingLimit: 1000
|
|
commerce: false
|
|
menu:
|
|
links:
|
|
|
|
adPoster:
|
|
enable: false
|
|
src: "https://example.org/ad_poster.jpeg"
|
|
caption: "Ad caption"
|
|
link: "https://example.org/product.aspx?id=10&from=ovk"
|
|
bellsAndWhistles:
|
|
fartscroll: false
|
|
testLabel: false
|
|
|
|
telemetry:
|
|
plausible:
|
|
enable: false
|
|
domain: ""
|
|
server: ""
|
|
|
|
credentials:
|
|
smsc:
|
|
enable: false
|
|
client: ""
|
|
secret: "SECRET_KEY_HERE"
|
|
eventDB:
|
|
enable: false # Better enable this
|
|
database:
|
|
dsn: "mysql:unix_socket=/tmp/mysql.sock;dbname=openvk-eventdb"
|
|
user: "root"
|
|
password: "DATABASE_PASSWORD"
|