Add configs for install

This commit is contained in:
Celestora 2022-04-10 12:57:07 +03:00
parent 7011d3298b
commit ba6b8d0ed6
2 changed files with 114 additions and 3 deletions

View file

@ -2,17 +2,23 @@ chandler:
debug: true debug: true
websiteUrl: null websiteUrl: null
rootApp: "openvk" rootApp: "openvk"
preferences: preferences:
appendExtension: "xhtml" appendExtension: "xhtml"
adminUrl: "/chandlerd" adminUrl: "/chandlerd"
exposeChandler: true exposeChandler: true
extensions:
path: null
allEnabled: false
database: database:
dsn: "mysql:unix_socket=/var/run/mysql/mysql.sock;dbname=openvk" dsn: "mysql:unix_socket=/var/run/mysql/mysql.sock;dbname=openvk"
user: "root" user: "root"
password: "justMonika" password: "justMonika"
security: security:
secret: "081906e04f2921e48751fbc5df44dbbcd7f6ecba065ade3d8ea28034cb8d6db24da10965845b5f3376847674e3bce61b5c0e439d12eef3c00d30f3b953657cac" secret: "081906e04f2921e48751fbc5df44dbbcd7f6ecba065ade3d8ea28034cb8d6db24da10965845b5f3376847674e3bce61b5c0e439d12eef3c00d30f3b953657cac"
sessionDuration: 14 sessionDuration: 14
csrfProtection: "permissive"
extendedValidation: false

View file

@ -0,0 +1,105 @@
openvk:
debug: true
appearance:
name: "FreeBSD Instance"
motd: "Yet another OpenVK instance"
preferences:
femaleGenderPriority: true
nginxCacheTime: 120
uploads:
disableLargeUploads: false
mode: "basic"
api:
maxFilesPerDomain: 10
maxFileSize: 25000000
shortcodes:
minLength: 3 # won't affect existing short urls or the ones set via admin panel
forbiddenNames:
- "index.php"
photos:
upgradeStructure: false
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
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"
messages:
strict: false
wall:
christian: false
anonymousPosting:
enable: false
account: 100
postSizes:
maxSize: 60000
processingLimit: 3000
emojiProcessingLimit: 1000
commerce: false
menu:
links:
- name: "@left_menu_donate"
url: "/donate"
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: ""
telemetry:
plausible:
enable: false
domain: ""
server: ""
piwik:
enable: false
container: ""
site: ""
layer: "dataLayer"
matomo:
enable: false
container: ""
site: ""
credentials:
smsc:
enable: false
client: ""
secret: "SECRET_KEY_HERE"
telegram:
enable: false
token: "TOKEN_HERE"
helpdeskChat: ""
eventDB:
enable: true # Better enable this
database:
dsn: "mysql:unix_socket=/var/run/mysql/mysql.sock;dbname=openvk"
user: "root"
password: "justMonika"
notificationsBroker:
enable: false
kafka:
addr: "127.0.0.1"
port: 9092
topic: "OvkEvents"