WindChat/windchat-boot/src/main/resources/openzaly-server.config

102 lines
2.9 KiB
Plaintext
Raw Normal View History

2019-07-29 23:42:16 +08:00
#
# Copyright 2018-2028 Akaxin Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
########################################################
2019-12-31 17:28:53 +08:00
### *************** WindChat ***************
### windchat-server
2019-07-29 23:42:16 +08:00
########################################################
## personal/PERSONAL edition : use sqlite database
## team/TEAM edition : use mysql database,support one master with several slaves
## enterprise/ENTERPRISE edition : use mysql + redis database ,support im server distribution
## ultimate edition : team or enterprise customization
2019-12-31 17:28:53 +08:00
windchat.edition=TEAM
2019-07-29 23:42:16 +08:00
# openzaly version
2019-12-31 17:28:53 +08:00
windchat.version=1.1.7
2019-07-29 23:42:16 +08:00
##### site tcp address,clients connect to site.address
2019-12-31 17:28:53 +08:00
windchat.address=0.0.0.0
2019-07-29 23:42:16 +08:00
# site tcp port default 2021
2019-12-31 17:28:53 +08:00
windchat.port=2021
2019-07-29 23:42:16 +08:00
# pluginapi server address
2019-12-31 17:28:53 +08:00
windchat.api.address=0.0.0.0
2019-07-29 23:42:16 +08:00
# pluginapi server port
2019-12-31 17:28:53 +08:00
windchat.api.port=8280
2019-07-29 23:42:16 +08:00
# default back-stage management address
2019-12-31 17:28:53 +08:00
windchat.admin.address=127.0.0.1
2019-07-29 23:42:16 +08:00
# default back-stage management port
2019-12-31 17:28:53 +08:00
windchat.admin.port=8288
2019-07-29 23:42:16 +08:00
# first user login site,use this user invite code(UIC)
2019-12-31 17:28:53 +08:00
windchat.uic=000000
2019-07-29 23:42:16 +08:00
# deposit pictures,audio,db default current path
2019-12-31 17:28:53 +08:00
# windchat.baseDir=${pwd}
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
## if windchat.edition = personal/PERSONAL OR migrate sqlite to mysql
##windchat.sqlite.url=windchatDB.sqlite3
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
## if windchat.edition = team/TEAM
2019-07-29 23:42:16 +08:00
##***************mysql master**************
2019-12-31 17:28:53 +08:00
##windchat.mysql.host=localhost
##windchat.mysql.port=3306
##windchat.mysql.database=windchat
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
##windchat.mysql.username=root
##windchat.mysql.password=1234567890
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
windchat.mysql.initial-size=10
windchat.mysql.max-size=100
windchat.mysql.max-idle=60
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
windchat.mysql.useUnicode=true
windchat.mysql.characterEncoding=utf-8
windchat.mysql.verifyServerCertificate=false
windchat.mysql.useSSL=true
2019-07-29 23:42:16 +08:00
##***************mysql slave**************
2019-12-31 17:28:53 +08:00
##windchat.mysql.slave.host=localhost
##windchat.mysql.slave.port=3306
##windchat.mysql.slave.database=windchat
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
##windchat.mysql.slave.username=root
##windchat.mysql.slave.password=1234567890
##windchat.mysql.slave.initial-size=10
##windchat.mysql.slave.max-size=100
##windchat.mysql.slave.max-idle=60
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
##windchat.mysql.slave.useUnicode=true
##windchat.mysql.slave.characterEncoding=utf-8
##windchat.mysql.slave.verifyServerCertificate=false
##windchat.mysql.slave.useSSL=true
2019-07-29 23:42:16 +08:00
2019-12-31 17:28:53 +08:00
## if windchat.edition = enterprise/ENTERPRISE
2019-07-29 23:42:16 +08:00
#### support support im server distribution
2019-12-31 17:28:53 +08:00
## if windchat.edition = ultimate edition
#### windchat support customed for team or enterprise
2019-07-29 23:42:16 +08:00