openvk/openvk-example.yml

58 lines
1.6 KiB
YAML
Raw Normal View History

2020-06-17 22:12:20 +03:00
openvk:
debug: true
appearance:
name: "OpenVK"
motd: "Yet another OpenVK instance"
preferences:
femaleGenderPriority: true
uploads:
disableLargeUploads: false
mode: "basic"
shortcodes:
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
2020-06-17 22:12:20 +03:00
support:
supportName: "Moderator"
adminAccount: 1 # Change this ok
messages:
strict: false
2020-08-20 15:58:40 +03:00
wall:
postSizes:
maxSize: 60000
processingLimit: 3000
emojiProcessingLimit: 1000
2020-06-17 22:12:20 +03:00
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
credentials:
smsc:
2020-06-17 22:12:20 +03:00
enable: false
client: ""
2021-05-14 19:06:35 +03:00
secret: "SECRET_KEY_HERE"
2020-06-17 22:12:20 +03:00
eventDB:
enable: false # Better enable this
database:
dsn: "mysql:unix_socket=/tmp/mysql.sock;dbname=openvk-eventdb"
2021-05-14 19:06:35 +03:00
user: "root"
password: "DATABASE_PASSWORD"