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
2022-04-04 16:43:40 +03:00
nginxCacheTime : null
2020-06-17 22:12:20 +03:00
uploads :
disableLargeUploads : false
mode : "basic"
2022-03-29 20:43:34 +03:00
api :
maxFilesPerDomain : 10
maxFileSize : 25000000
2020-06-17 22:12:20 +03:00
shortcodes :
2021-10-13 23:41:12 +03:00
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"
2022-04-05 14:10:31 +03:00
photos :
2022-12-14 23:15:29 +03:00
upgradeStructure : false
photoSaving : "quick"
2023-05-27 09:31:20 +03:00
videos :
disableUploading : false
2022-08-20 21:07:54 +03:00
apps :
withdrawTax : 8
2020-06-17 22:12:20 +03:00
security :
requireEmail : false
requirePhone : false
forcePhoneVerification : false
forceEmailVerification : false
2023-04-19 14:02:33 +03:00
forceStrongPassword : false
2023-05-26 12:27:40 +03:00
disablePasswordRestoring : true # turn this off if you have configured e-mail sending correctly
2020-06-17 22:12:20 +03:00
enableSu : true
2021-01-01 00:18:53 +03:00
rateLimits :
actions : 5
time : 20
maxViolations : 50
maxViolationsAge : 120
autoban : true
2021-09-13 19:00:54 +03:00
registration :
enable : true
2023-05-23 16:31:32 +03:00
disablingReason : ""
2020-06-17 22:12:20 +03:00
support :
2023-05-23 16:31:32 +03:00
supportName : "Agent"
2020-06-17 22:12:20 +03:00
adminAccount : 1 # Change this ok
2021-12-26 20:15:32 +03:00
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 :
2021-12-14 14:50:45 +03:00
christian : false
2021-11-15 22:45:48 +03:00
anonymousPosting :
2021-11-15 23:00:48 +03:00
enable : false
account : 100
2020-08-20 15:58:40 +03:00
postSizes :
maxSize : 60000
processingLimit : 3000
emojiProcessingLimit : 1000
2021-10-12 12:15:55 +03:00
commerce : false
2022-09-05 18:57:41 +03:00
susLinks :
warnings : true
showReason : true
2022-09-17 00:19:46 +03:00
maintenanceMode :
all : false
photos : false
videos : false
messenger : false
user : false
group : false
comment : false
gifts : false
apps : false
notes : false
notification : false
support : false
topics : false
2022-05-07 15:42:25 +03:00
ton :
enabled : false
address : "🅿"
testnet : false # Only for testing purposes.
rate : 0.02 # TONs per 1 coin
regex : "ovk=([0-9]+)"
hint : "ovk=$1"
# Please read docs to understand how to turn on automatic checking for new translations
2020-06-17 22:12:20 +03:00
menu :
links :
2021-12-17 18:40:08 +03:00
- name : "@left_menu_donate"
url : "/donate"
2022-04-14 18:36:38 +03:00
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
2022-01-16 23:15:33 +03:00
defaultMobileTheme : ""
2023-08-11 16:43:39 +03:00
logs : true
2021-09-20 15:59:55 +03:00
telemetry :
plausible :
enable : false
domain : ""
server : ""
2022-03-29 12:06:43 +03:00
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 :
2021-01-07 19:25:09 +03:00
smsc :
2020-06-17 22:12:20 +03:00
enable : false
2021-01-07 19:25:09 +03:00
client : ""
2021-05-14 19:06:35 +03:00
secret : "SECRET_KEY_HERE"
2021-12-06 00:30:57 +03:00
telegram :
enable : false
token : "TOKEN_HERE"
helpdeskChat : ""
2020-06-17 22:12:20 +03:00
eventDB :
2023-05-23 16:31:32 +03:00
enable : true
2020-06-17 22:12:20 +03:00
database :
2023-05-23 16:31:32 +03:00
dsn : "mysql:unix_host=localhost;dbname=openvk-eventdb" # or unix_socket=/tmp/mysql.sock
2021-05-14 19:06:35 +03:00
user : "root"
password : "DATABASE_PASSWORD"
2021-10-15 23:17:12 +03:00
notificationsBroker :
enable : false
kafka :
addr : "127.0.0.1"
port : 9092
topic : "OvkEvents"