Config.lua 1.18 KB
--[[
        配置文件
--]]


--[[
        rabbitmq服务器
--]]
--rabbitmq_host = '127.0.0.1'
rabbitmq_host = '54.222.219.223'
rabbitmq_port = 5672
rabbitmq_user = 'guest'
rabbitmq_pass = 'guest'
rabbitmq_vhost = '/'


--[[
        influxdb服务器
--]]
--influxdb_host = '127.0.0.1'
influxdb_host = '54.222.219.223'
influxdb_port = 8086


--[[
        influxdb服务器
--]]
mongodb_host = '54.222.219.223'
mongodb_port = 27017
mongodb_user = 'root'
mongodb_pass = 'yoho@Uniformpass'


--[[
        前端监听配置
--]]
http_mq_port = 9500
worker_num = 3
daemonize = false


--[[
        路径配置
--]]
--working directory工作目录
--pwd = '/www/yoho-phplog'
pwd = '/Data/code/yoho-phplog'
--python路径
python = "/usr/bin/python"
--php路径
--php = "/usr/bin/php56"
php = "/Data/local/php/bin/php"
--日志文件
--log_file = nil
log_file = '/Data/code/yoho-phplog/access.log'

--[[
        通道配置
--]]
--交换机名前缀
rabbitmq_exchange_name = 'yohoExchange_'
--路由键名
rabbitmq_route_key = 'phplog'
--队列名
rabbitmq_queue_name = 'phplog'
--批量ack响应阀值
rabbitmq_ack_interval = 10

info_channel = 'YHInfo'
debug_channel = 'YHDebug'
shutdown_channel = 'YHShutdown'