You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
829 B
42 lines
829 B
2 years ago
|
server:
|
||
|
name: room
|
||
|
http:
|
||
|
addr: 0.0.0.0:8000
|
||
|
timeout: 30
|
||
|
grpc:
|
||
|
addr: 0.0.0.0:9000
|
||
|
timeout: 30
|
||
|
data:
|
||
|
database:
|
||
|
source: "host=192.168.1.156 user=metachat password=metachat dbname=feedback port=15433 sslmode=disable TimeZone=Asia/Shanghai"
|
||
|
# source: postgresql://metachat:metachat@127.0.0.1:15432/room
|
||
|
redis:
|
||
|
addr: 192.168.1.156:16378
|
||
|
password: MM5ZsXL0
|
||
|
read_timeout: 1
|
||
|
write_timeout: 1
|
||
|
|
||
|
etcd:
|
||
|
host: "127.0.0.1:20000"
|
||
|
|
||
|
log:
|
||
|
level: "debug"
|
||
|
name: "room"
|
||
|
kafka:
|
||
|
addr:
|
||
|
- "127.0.0.1:9092"
|
||
|
amqp:
|
||
|
host: 192.168.1.156:5672
|
||
|
username: jm
|
||
|
password: jm123456
|
||
|
|
||
|
id_encode:
|
||
|
uid:
|
||
|
salt: "test"
|
||
|
min_length: 8
|
||
|
|
||
|
rtctoken:
|
||
|
app_id: 6eeb2e6be9a141d1b0db920f36a5a9f3
|
||
|
app_certificate: 80438856882e4563841d56f3cefeb763
|
||
|
privilege_expiration: 3600
|
||
|
token_expiration: 3600
|