Files
arenax-server/manifest/config/config.yaml

52 lines
957 B
Go

# Server configuration.
server:
address: ":9000"
openapiPath: "/api.json"
swaggerPath: "/swagger"
# Logger configuration.
logger:
level : "all"
stdout: true
# Database configuration.
database:
logger:
level: "all"
stdout: true
default:
link: "mysql:root:MSms0427@tcp(localhost:3306)/arenax?loc=Local&charset=utf8mb4"
debug: true
# Redis configuration.
redis:
default:
address: "127.0.0.1:6379"
# Casbin model
casbin:
modelPath: "./manifest/config/rbac_model.conf"
#
wechat:
appId: "wx056fad20f1bd9110"
appSecret: "4269b5a2bb0274e805b43efb3fbd232a"
ticketExpire: 60
token: "arenax"
rsa:
publickey: "./manifest/config/public.pem"
privatekey: "./manifest/config/private.pem"
#OSS配置
oss:
aliyun:
bucket: "waipretty"
key: "LTAI4FhJV8uQvgSzviJ5tgcP"
secret: "Zc5E5CO4fqsXTIFsq4SHIaaXO4beJm"
endpoint: "oss-us-east-1.aliyuncs.com"
gamelife:
platId: "b1749611654"
mode: "test"