You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
55 lines
1.1 KiB
# Gin-Vue-Admin Global Configuration
|
|
|
|
# casbin configuration
|
|
casbin:
|
|
model-path: './resource/rbac_model.conf'
|
|
|
|
# jwt configuration
|
|
jwt:
|
|
signing-key: 'qmPlus'
|
|
|
|
# mysql connect configuration
|
|
mysql:
|
|
username: %{mysql_username}
|
|
password: %{mysql_password}
|
|
path: %{mysql_address}
|
|
db-name: 'qmPlus'
|
|
config: 'charset=utf8&parseTime=True&loc=Local'
|
|
max-idle-conns: 10
|
|
max-open-conns: 10
|
|
log-mode: true
|
|
#sqlite 配置
|
|
sqlite:
|
|
path: db.db
|
|
log-mode: true
|
|
config: 'loc=Asia/Shanghai'
|
|
# oss configuration
|
|
qiniu:
|
|
access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
|
|
secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
|
|
|
|
# redis configuration
|
|
redis:
|
|
addr: %{redis_address}
|
|
passwprd: %{redis_password}
|
|
db: 0
|
|
|
|
# system configuration
|
|
system:
|
|
use-multipoint: false
|
|
env: 'public' # Change to "develop" to skip authentication for development mode
|
|
addr: 8888
|
|
db-type: "mysql" # support mysql/sqlite
|
|
|
|
# captcha configuration
|
|
captcha:
|
|
key-long: 4
|
|
img-width: 120
|
|
img-height: 40
|
|
|
|
# logger configuration
|
|
log:
|
|
prefix: '[GIN-VUE-ADMIN]'
|
|
log-file: true
|
|
stdout: 'DEBUG'
|
|
file: 'DEBUG'
|