export ETCDCTL_API=3 # root配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/run_mode -d value="9Th7lGvKBPOMOwnH0U_bzg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/app_key -d value="9Th7lGvKBPOMOwnH0U_bzg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/app_secret -d value="9Th7lGvKBPOMOwnH0U_bzg" # mysql 配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/mysql/user -d value="N4oBj1cXx5wFg3DS1xPw5g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/mysql/password -d value="Ui_mDt72PYE39qZ6POwHNA" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/mysql/addr -d value="C3ezou5txjrSiUuyMk_VJH0dsSerQs5tKIZ2eMZNC60" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/mysql/default_db -d value="" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/mysql/charset -d value="f6Ny3dxOS9QXlPEHW52uVw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/mysql/max_idle -d value="BwYSwIflaw1ReNa7A4SfdA" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/mysql/max_conn -d value="sIYNSRl6pMnhyGrWMnnbLw" # redis 配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/network -d value="9-wy8RLeSlIQiNHIhBfSRQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/addr -d value="b4r_Rx-940_ljGM_vMmU0g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/password -d value="8OTf6mYFs3YKE2ON0aEr0A" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/connect_timeout -d value="55EVTweIHIwnUEu_rUN1Gg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/read_timeout -d value="55EVTweIHIwnUEu_rUN1Gg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/write_timeout -d value="55EVTweIHIwnUEu_rUN1Gg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/idle_timeout -d value="VtVyBjTVINUhUNcGdeu7uQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/max_active -d value="APi8eN13MAjeHIbOSHwuXQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/max_idle -d value="5SCkyQvQM4Rg_jla8tuDRw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/wait_flag -d value="CuLQ7rVEtu6DH8xIoP-7JQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/redis/default_db -d value="D6TQs_HydYKbCVCboH8QYg" # cgi 配置 # cgidemo 配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/demo/log/level -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/demo/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/demo/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/demo/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/demo/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # 默认不打印堆栈 # cjj_camera_gateway 配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_camera_gateway/log/level -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_camera_gateway/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_camera_gateway/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_camera_gateway/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_camera_gateway/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # cjj_business_gateway 配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_business_gateway/log/level -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_business_gateway/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_business_gateway/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_business_gateway/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/cjj_business_gateway/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # rpc 配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/base_path -d value="YCjIZLW6ELKIbTk7T2Sh_w" # arith配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/scheme -d value="9-wy8RLeSlIQiNHIhBfSRQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/name -d value="71OcCZ3GYS_y2O1HYSi3lg" # 增加一个rpc需要修改这里的名字 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/update_interval -d value="oH2S2caAGf1Tv5UuZFPWvQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/mysql_db -d value="" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/redis_db -d value="" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/log/level -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/arith/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/arith/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # camera配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/scheme -d value="9-wy8RLeSlIQiNHIhBfSRQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/name -d value="XfNPObKUnTIwEhSUiMtp4w" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/update_interval -d value="oH2S2caAGf1Tv5UuZFPWvQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/log_mode -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/mysql_db -d value="eUgGOZjI9mQcFfPXdKyZtCpluXjQMDrOn_xUGMsz5YA" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/redis_db -d value="D6TQs_HydYKbCVCboH8QYg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/camera/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/camera/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # niche配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/scheme -d value="9-wy8RLeSlIQiNHIhBfSRQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/name -d value="Uvo35hAu-AuCyyhiEkG5Ug" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/update_interval -d value="oH2S2caAGf1Tv5UuZFPWvQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/log_mode -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/mysql_db -d value="MmgNTrfNb4xabnoI_mKR5NHg0FuTQmhlzFNJYaLdlbo" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/redis_db -d value="D6TQs_HydYKbCVCboH8QYg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/niche/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/niche/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # query配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/scheme -d value="9-wy8RLeSlIQiNHIhBfSRQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/name -d value="stPsprzZcvc-1xVl2fSMFA" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/update_interval -d value="oH2S2caAGf1Tv5UuZFPWvQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/log_mode -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/mysql_db -d value="efnp4whx7nl6DXEhdV0SwtHg0FuTQmhlzFNJYaLdlbo" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/redis_db -d value="D6TQs_HydYKbCVCboH8QYg" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/query/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/query/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # user配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/scheme -d value="9-wy8RLeSlIQiNHIhBfSRQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/name -d value="oqhUeopX9k_7DUC8gWSXWw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/update_interval -d value="oH2S2caAGf1Tv5UuZFPWvQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/log_mode -d value="2eTIzES8cJ9Ff4rqpOiL3g" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/mysql_db -d value="lUnocUpEtYtCxDI9Q7rMNQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/redis_db -d value="ucTsA7J6eV2ZkwWCY_7ttA" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/log/max_size -d value="sIYNSRl6pMnhyGrWMnnbLw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/log/max_backups -d value="Zk8cnJ63ZhWVVEf9W5l0YQ" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/rpc/user/log/max_age -d value="yx5Jm4ydWQRavrGpY46XFw" curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/cgi/user/log/disable_stacktrace -d value="CuLQ7rVEtu6DH8xIoP-7JQ" # elasticsearch配置 curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/elastic/addr -d value="" # ip:port curl -XPUT http://127.0.0.1:2379/v2/keys/dev/config/elastic/sniff -d value="" #false