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

59 lines
1.1 KiB
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"
#OSS配置
oss:
aliyun:
bucket: "waipretty"
key: "LTAI4FhJV8uQvgSzviJ5tgcP"
secret: "Zc5E5CO4fqsXTIFsq4SHIaaXO4beJm"
endpoint: "oss-us-east-1.aliyuncs.com"
gamelife:
platId: "quanyou"
brandId: "b1749611654"
secret: "LqPQ2gbF"
mode: "test"
rsaKey: "./manifest/config/全游-测试环境密钥.txt"
mqtt:
emqx:
host: "127.0.0.1"
clientId: "server"
port: 1883
username: "areanx_server"
password: "areanx_server"