Files
im_server/tinode-db/tinode.conf
T

32 lines
788 B
Plaintext

{
"p2p_delete_enabled": true,
"store_config": {
"uid_key": "dkXxWLwqUNRfYmdXRzOkZw==",
"use_adapter": "mysql",
"adapters": {
"postgres": {
"database": "tinode",
"dsn": "postgresql://postgres:postgres@localhost:5432/tinode?sslmode=disable"
},
"mysql": {
"database": "tinode",
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(mysql.118im.com:30306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"tenant_registry_db": "hotgo",
"tenant_db_routing": true
},
"rethinkdb": {
"database": "tinode",
"addresses": "localhost:28015"
},
"mongodb": {
"database": "tinode",
"addresses": "localhost:27017",
//"replica_set": "rs0",
//"auth_source": "admin",
//"username": "tinode",
//"password": "tinode",
}
}
}
}