Files
im_server/tinode-db/tinode.conf
T
2026-08-11 15:59:57 +08:00

30 lines
720 B
Plaintext

{
"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",
}
}
}
}