123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- # This is a TOML document. Boom
- version = "1.0.0"
- user = "nobody"
- pid = "/tmp/member.pid"
- dir = "./"
- [log]
- dir = "/data/log/member"
- stdout=true
- [bm]
- addr = "0.0.0.0:7711"
- maxListen = 10
- timeout = "1s"
- [identify]
- whiteAccessKey = ""
- whiteMid = 0
- [identify.app]
- key = "6a29f8ed87407c11"
- secret = "d3c5a85f5b895a03735b5d20a273bc57"
- [identify.memcache]
- name = "go-business/identify"
- proto = "tcp"
- addr = "172.16.33.54:11211"
- active = 5
- idle = 5
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "80s"
- [identify.host]
- auth = "http://passport.bilibili.com"
- secret = "http://open.bilibili.com"
- [identify.httpClient]
- key = "f022126a8a365e20"
- secret = "b7b86838145d634b487e67b811b8fab2"
- dial = "30ms"
- timeout = "100ms"
- keepAlive = "60s"
- [identify.httpClient.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [identify.httpClient.url]
- "http://passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
- "http://passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
- "http://open.bilibili.co/api/getsecret" = {timeout = "500ms"}
- [orm]
- [orm.member]
- dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_member?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 5
- idle = 5
- idleTimeout = "4h"
- [orm.memberRead]
- dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_member?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 5
- idle = 5
- idleTimeout = "4h"
- [orm.account]
- dsn = "account:wx2U1MwXRyWEuURw@tcp(172.16.33.205:3306)/account?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 5
- idle = 5
- idleTimeout = "4h"
- [host]
- #search = "http://uat-bili-search.bilibili.co"
- message = "http://uat-message.bilibili.co"
- passport = "http://uat-passport.bilibili.co"
- merak = "http://merak.bilibili.co"
- [httpClient]
- [httpClient.read]
- key = "c1a1cb2d89c33794"
- secret = "dda47eeca111e03e6845017505baea13"
- dial = "1s"
- timeout = "3s"
- keepAlive = "60s"
- timer = 16
- [httpClient.read.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpClient.write]
- key = "c1a1cb2d89c33794"
- secret = "dda47eeca111e03e6845017505baea13"
- dial = "100ms"
- timeout = "800ms"
- keepAlive = "60s"
- timer = 16
- [httpClient.write.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpClient.Passport]
- key = "c1a1cb2d89c33794"
- secret = "dda47eeca111e03e6845017505baea13"
- dial = "100ms"
- timeout = "800ms"
- keepAlive = "60s"
- timer = 16
- [hbase]
- master = ""
- meta = ""
- dialTimeout = "1s"
- readTimeout = "10s"
- readsTimeout = "10s"
- writeTimeout = "10s"
- writesTimeout = "10s"
- [hbase.zookeeper]
- root = ""
- addrs =["172.18.33.75:2181"]
- timeout = "30s"
- [expMsgDatabus]
- key = "4ba46ba31f9a44ef"
- secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
- group = "AccountExp-MainAccount-P"
- topic = "AccountExp-T"
- action = "pub"
- name = "member-admin/databus"
- proto = "tcp"
- addr = "172.18.33.50:6205"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [auth]
- managerHost = "http://uat-manager.bilibili.co"
- dashboardHost = "http://uat-dashboard-mng.bilibili.co"
- dashboardCaller = "manager-go"
- [auth.DsHTTPClient]
- key = "manager-go"
- secret = "949bbb2dd3178252638c2407578bc7ad"
- dial = "1s"
- timeout = "1s"
- keepAlive = "60s"
- [auth.DsHTTPClient.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [auth.MaHTTPClient]
- key = "f6433799dbd88751"
- secret = "36f8ddb1806207fe07013ab6a77a3935"
- dial = "1s"
- timeout = "1s"
- keepAlive = "60s"
- [auth.MaHTTPClient.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [auth.session]
- sessionIDLength = 32
- cookieLifeTime = 1800
- cookieName = "mng-go"
- domain = ".bilibili.co"
- [auth.session.Memcache]
- name = "go-business/auth"
- proto = "tcp"
- addr = "172.16.33.54:11211"
- active = 5
- idle = 5
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "80s"
- [fhbyophbase]
- master = ""
- meta = ""
- dialTimeout = "1s"
- readTimeout = "10s"
- readsTimeout = "10s"
- writeTimeout = "10s"
- writesTimeout = "10s"
- [fhbyophbase.zookeeper]
- root = ""
- addrs =["bigdata-test-02:2181","bigdata-test-03:2181","bigdata-test-04:2181"]
- timeout = "30s"
- [fhbymidhbase]
- master = ""
- meta = ""
- dialTimeout = "1s"
- readTimeout = "10s"
- readsTimeout = "10s"
- writeTimeout = "10s"
- writesTimeout = "10s"
- [fhbymidhbase.zookeeper]
- root = ""
- addrs =["bigdata-test-02:2181","bigdata-test-03:2181","bigdata-test-04:2181"]
- timeout = "30s"
- [facepribfs]
- timeout="500ms"
- maxFileSize=8388608
- url="http://bfs.bilibili.co/bfs/"
- bucket="facepri"
- key="8923aff2e1124bb2"
- secret="b237e8927823cc2984aee980123cb0"
- [facebfs]
- timeout="500ms"
- url="http://bfs.bilibili.co/bfs/"
- bucket="face"
- key="792d70f16e958493"
- secret="08525fe929bdb26c3a6009afd7318f"
- [rpcClient]
- [rpcClient.coin]
- timeout = "1s"
- [blockMemcache]
- name = "block-admin"
- proto = "tcp"
- addr = "172.16.33.54:11214"
- idle = 10
- active = 10
- dialTimeout = "2s"
- readTimeout = "2s"
- writeTimeout = "2s"
- idleTimeout = "7h"
- [expire]
- expire = "200s"
- [blockMysql]
- addr = "127.0.0.1:3306"
- dsn = "root:54985498@tcp(127.0.0.1:3306)/bilibili_block?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 5
- idle = 5
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [accountNotify]
- key = "4ba46ba31f9a44ef"
- secret = "99985eb4451cfb1b899ca0fbe3c4bdc8"
- group = "AccountNotify-MainAccount-P"
- topic = "AccountNotify-T"
- action = "pub"
- buffer = 128
- name = "usersuit-admin/databus"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- active = 1
- idle = 1
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [blockProperty]
- blackHouseURL = "http://api.bilibili.co/x/internal/credit/blocked/info/batch/add"
- msgURL = "http://message.bilibili.co/api/notify/send.user.notify.do"
- telURL = "http://passport.bilibili.co/intranet/acc/telInfo/mid"
- mailURL = "http://passport.bilibili.co/intranet/user/mail"
- [realname]
- imageURLTemplate = "http://uat-manager.bilibili.co/x/admin/member/realname/image?token=%s"
- dataDir = "/data/storage/realname"
- [reviewNotify]
- users = []
- [redis]
- name = "member-admin"
- proto = "tcp"
- addr = "127.0.0.1:6379"
- active = 10
- idle = 5
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [memcache]
- name = "member-admin"
- proto = "tcp"
- addr = "127.0.0.1:11211"
- active = 10
- idle = 5
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
|