openvk
/
openvk-example.yml
145 строк · 4.5 Кб
1openvk:2debug: true3appearance:4name: "OpenVK"5motd: "Yet another OpenVK instance"6
7preferences:8femaleGenderPriority: true9nginxCacheTime: null10uploads:11disableLargeUploads: false12mode: "basic"13api:14maxFilesPerDomain: 1015maxFileSize: 2500000016shortcodes:17minLength: 3 # won't affect existing short urls or the ones set via admin panel18forbiddenNames:19- "index.php"20photos:21upgradeStructure: false22photoSaving: "quick"23videos:24disableUploading: false25apps:26withdrawTax: 827security:28requireEmail: false29requirePhone: false30forcePhoneVerification: false31forceEmailVerification: false32forceStrongPassword: false33disablePasswordRestoring: true # turn this off if you have configured e-mail sending correctly34enableSu: true35rateLimits:36actions: 537time: 2038maxViolations: 5039maxViolationsAge: 12040autoban: true41registration:42enable: true43disablingReason: ""44support:45supportName: "Agent"46adminAccount: 1 # Change this ok47fastAnswers:48- "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"49- "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"50- "Good luck filling! If you are a regular support agent, inform the administrator that he forgot to fill the config"51messages:52strict: false53music:54exposeOriginalURLs: true55wall:56christian: false57anonymousPosting:58enable: false59account: 10060postSizes:61maxSize: 6000062processingLimit: 300063emojiProcessingLimit: 100064commerce: false65susLinks:66warnings: true67showReason: true68maintenanceMode:69all: false70photos: false71videos: false72messenger: false73user: false74group: false75comment: false76gifts: false77apps: false78notes: false79notification: false80support: false81topics: false82ton:83enabled: false84address: "🅿"85testnet: false # Only for testing purposes.86rate: 0.02 # TONs per 1 coin87regex: "ovk=([0-9]+)"88hint: "ovk=$1"89# Please read docs to understand how to turn on automatic checking for new translations90menu:91links:92- name: "@left_menu_donate"93url: "/donate"94about:95links:96- name: "Link caption"97url: "https://example.org/"98adPoster:99enable: false100src: "https://example.org/ad_poster.jpeg"101caption: "Ad caption"102link: "https://example.org/product.aspx?id=10&from=ovk"103bellsAndWhistles:104fartscroll: false105testLabel: false106defaultMobileTheme: ""107defaultFeaturePhoneTheme: ""108logs: true109
110telemetry:111plausible:112enable: false113domain: ""114server: ""115piwik:116enable: false117container: ""118site: ""119layer: "dataLayer"120matomo:121enable: false122container: ""123site: ""124
125credentials:126smsc:127enable: false128client: ""129secret: "SECRET_KEY_HERE"130telegram:131enable: false132token: "TOKEN_HERE"133helpdeskChat: ""134eventDB:135enable: true136database:137dsn: "mysql:unix_host=localhost;dbname=openvk-eventdb" # or unix_socket=/tmp/mysql.sock138user: "root"139password: "DATABASE_PASSWORD"140notificationsBroker:141enable: false142kafka:143addr: "127.0.0.1"144port: 9092145topic: "OvkEvents"146