openvk/openvk-example.yml

110 lines
3.4 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"
2021-09-20 15:59:55 +03:00
2020-06-17 22:12:20 +03:00
preferences:
femaleGenderPriority: true
nginxCacheTime: null
2020-06-17 22:12:20 +03:00
uploads:
disableLargeUploads: false
mode: "basic"
api:
maxFilesPerDomain: 10
maxFileSize: 25000000
2020-06-17 22:12:20 +03:00
shortcodes:
minLength: 3 # won't affect existing short urls or the ones set via admin panel
2020-06-17 22:12:20 +03:00
forbiddenNames:
- "index.php"
photos:
upgradeStructure: true
2020-06-17 22:12:20 +03:00
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
2020-06-17 22:12:20 +03:00
support:
supportName: "Moderator"
adminAccount: 1 # Change this ok
fastAnswers:
- "This is a list of quick answers to common questions for support. Post your responses here and agents can send it quickly with just 3 clicks"
- "There can be as many answers as you want, but it is best to have a maximum of 10.\n\nYou can also remove all answers from the list to disable this feature"
- "Good luck filling! If you are a regular support agent, inform the administrator that he forgot to fill the config"
2020-06-17 22:12:20 +03:00
messages:
strict: false
2020-08-20 15:58:40 +03:00
wall:
christian: false
2021-11-15 22:45:48 +03:00
anonymousPosting:
enable: false
account: 100
2020-08-20 15:58:40 +03:00
postSizes:
maxSize: 60000
processingLimit: 3000
emojiProcessingLimit: 1000
commerce: false
2020-06-17 22:12:20 +03:00
menu:
links:
- name: "@left_menu_donate"
url: "/donate"
about:
links:
- name: "Link caption"
url: "https://example.org/"
2020-06-17 22:12:20 +03:00
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
defaultMobileTheme: ""
2021-09-20 15:59:55 +03:00
telemetry:
plausible:
enable: false
domain: ""
server: ""
piwik:
enable: false
container: ""
site: ""
layer: "dataLayer"
2022-03-29 12:32:03 +03:00
matomo:
enable: false
container: ""
site: ""
2021-09-20 15:59:55 +03:00
2020-06-17 22:12:20 +03:00
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"
telegram:
enable: false
token: "TOKEN_HERE"
helpdeskChat: ""
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"
notificationsBroker:
enable: false
kafka:
addr: "127.0.0.1"
port: 9092
topic: "OvkEvents"