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

69 lines
1.3 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:123456@tcp(192.168.3.92: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配置
oss:
aliyun:
bucket: "arenaxx"
key: "LTAI5tRc2jeZ8ypdzWA8i24V"
secret: "4os1j4NksHPJkQYTZmKgWSqV6EXyjF"
endpoint: "oss-cn-chengdu.aliyuncs.com"
#SMS配置
sms:
aliyun:
accessKeyId: "LTAI5tRc2jeZ8ypdzWA8i24V"
accessKeySecret: "4os1j4NksHPJkQYTZmKgWSqV6EXyjF"
endpoint: "dysmsapi.aliyuncs.com"
templateId: "SMS_489720224"
signName: "竞娱时代"
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"