Skip to content

Commit

Permalink
Merge pull request #55 from qingfeng777/master
Browse files Browse the repository at this point in the history
[go] fix config.example.yaml default value
  • Loading branch information
qingfeng777 committed Jan 30, 2024
2 parents 5c17807 + 18317bb commit 70e8abd
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion go/config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ casbin:
# system configuration
system:
env: 'public' # Change to "develop" to skip authentication for development mode
addr: 8888
addr: 8778
db-type: 'mysql'
oss-type: 'local' # 控制oss选择走本地还是 七牛等其他仓 自行增加其他oss仓可以在 go/utils/upload/upload.go 中 NewOss函数配置
use-redis: false # 使用redis
Expand All @@ -54,6 +54,20 @@ captcha:
img-width: 240
img-height: 80

login:
model: registry
ldap:
host: ldap.pri.ibanyu.com
port: 389
base-dn: dc=ipalfish,dc=com
use-sll: false
bind-pwd: Ccjsj1200
bind-dn: cn=Manager,dc=ipalfish,dc=com
login-path: http://baidu.com
token-secret: ipalfish-db-injection-c362ef0dce45bb48b8f400e34b74c37b
token-effective-hour: 0
init-password: aaaaaa

# mysql connect configuration
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://www.github.com/flipped-aurora/gin-vue-admin/server.com/docs/first)
mysql:
Expand Down

0 comments on commit 70e8abd

Please sign in to comment.