openvk

Форк
0
/
openvk-example.yml 
145 строк · 4.5 Кб
1
openvk:
2
    debug: true
3
    appearance:
4
        name: "OpenVK"
5
        motd: "Yet another OpenVK instance"
6
    
7
    preferences:
8
        femaleGenderPriority: true
9
        nginxCacheTime: null
10
        uploads:
11
            disableLargeUploads: false
12
            mode: "basic"
13
            api:
14
                maxFilesPerDomain: 10
15
                maxFileSize: 25000000
16
        shortcodes:
17
            minLength: 3 # won't affect existing short urls or the ones set via admin panel
18
            forbiddenNames:
19
                - "index.php"
20
        photos:
21
            upgradeStructure: false
22
            photoSaving: "quick"
23
        videos:
24
            disableUploading: false
25
        apps:
26
            withdrawTax: 8
27
        security:
28
            requireEmail: false
29
            requirePhone: false
30
            forcePhoneVerification: false
31
            forceEmailVerification: false
32
            forceStrongPassword: false
33
            disablePasswordRestoring: true # turn this off if you have configured e-mail sending correctly
34
            enableSu: true
35
            rateLimits:
36
                actions: 5
37
                time: 20
38
                maxViolations: 50
39
                maxViolationsAge: 120
40
                autoban: true
41
        registration:
42
            enable: true
43
            disablingReason: ""
44
        support:
45
            supportName: "Agent"
46
            adminAccount: 1 # Change this ok
47
            fastAnswers:
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"
51
        messages:
52
            strict: false
53
        music:
54
            exposeOriginalURLs: true
55
        wall:
56
            christian: false
57
            anonymousPosting:
58
                enable: false
59
                account: 100
60
            postSizes:
61
                maxSize: 60000
62
                processingLimit: 3000
63
                emojiProcessingLimit: 1000
64
        commerce: false
65
        susLinks:
66
            warnings: true
67
            showReason: true
68
        maintenanceMode:
69
            all: false
70
            photos: false
71
            videos: false
72
            messenger: false
73
            user: false
74
            group: false
75
            comment: false
76
            gifts: false
77
            apps: false
78
            notes: false
79
            notification: false
80
            support: false
81
            topics: false
82
        ton:
83
            enabled: false
84
            address: "🅿"
85
            testnet: false # Only for testing purposes.
86
            rate: 0.02     # TONs per 1 coin
87
            regex: "ovk=([0-9]+)"
88
            hint: "ovk=$1"
89
            # Please read docs to understand how to turn on automatic checking for new translations
90
        menu:
91
            links:
92
                - name: "@left_menu_donate"
93
                  url: "/donate"
94
        about:
95
            links:
96
                - name: "Link caption"
97
                  url: "https://example.org/"
98
        adPoster:
99
            enable: false
100
            src: "https://example.org/ad_poster.jpeg"
101
            caption: "Ad caption"
102
            link: "https://example.org/product.aspx?id=10&from=ovk"
103
        bellsAndWhistles:
104
            fartscroll: false
105
            testLabel: false
106
        defaultMobileTheme: ""
107
        defaultFeaturePhoneTheme: ""
108
        logs: true
109
    
110
    telemetry:
111
        plausible:
112
            enable: false
113
            domain: ""
114
            server: ""
115
        piwik:
116
            enable: false
117
            container: ""
118
            site: ""
119
            layer: "dataLayer"
120
        matomo:
121
            enable: false
122
            container: ""
123
            site: ""
124
    
125
    credentials:
126
        smsc:
127
            enable: false
128
            client: ""
129
            secret: "SECRET_KEY_HERE"
130
        telegram:
131
            enable: false
132
            token: "TOKEN_HERE"
133
            helpdeskChat: ""
134
        eventDB:
135
            enable: true
136
            database:
137
                dsn: "mysql:unix_host=localhost;dbname=openvk-eventdb" # or unix_socket=/tmp/mysql.sock
138
                user: "root"
139
                password: "DATABASE_PASSWORD"
140
        notificationsBroker:
141
            enable: false
142
            kafka:
143
                addr: "127.0.0.1"
144
                port: 9092
145
                topic: "OvkEvents"
146

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.