gorush/config/config.yml

33 lines
558 B
YAML
Raw Normal View History

core:
port: "8088"
worker_num: 8
queue_num: 8192
max_notification: 100
mode: "release"
ssl: false
cert_path: "cert.pem"
key_path: "key.pem"
api:
push_uri: "/api/push"
stat_go_uri: "/api/stat/go"
stat_app_uri: "/api/stat/app"
config_uri: "/api/config"
android:
enabled: true
apikey: "YOUR_API_KEY"
ios:
enabled: false
pem_cert_path: "cert.pem"
pem_key_path: "key.pem"
production: false
log:
format: "string" # string or json
access_log: "stdout"
access_level: "debug"
error_log: "stderr"
error_level: "error"