多租户更改
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"p2p_delete_enabled": true,
|
||||
"store_config": {
|
||||
"uid_key": "la6YsO+bNX/+XIkOqc5Svw==",
|
||||
"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(120.25.72.121:53306)/tinode?parseTime=true&collation=utf8mb4_unicode_ci"
|
||||
},
|
||||
"rethinkdb": {
|
||||
"database": "tinode",
|
||||
"addresses": "localhost:28015"
|
||||
},
|
||||
"mongodb": {
|
||||
"database": "tinode",
|
||||
"addresses": "localhost:27017",
|
||||
//"replica_set": "rs0",
|
||||
//"auth_source": "admin",
|
||||
//"username": "tinode",
|
||||
//"password": "tinode",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user