scense/conf/config.json

75 lines
1.2 KiB
JSON

{
"app": {
"name": "scense",
"port": 9380,
"title": "唤景平台世界模式"
},
"password_key": "scense_test_env_key",
"logger": {
"name": "scense",
"level": "INFO",
"file": "$[workdir]$/logs/scense.log"
},
"filesroot": "$[workdir]$/files",
"databases": {
"scense": {
"driver": "mysql",
"kwargs": {
"host": "localhost",
"port": 3306,
"user": "test",
"password": "Kj2wTl+LYpPtDSk3B01U7w==",
"database": "scense",
"charset": "utf8mb4"
}
}
},
"website": {
"port": 9380,
"root": "$[workdir]$/wwwroot",
"processors": [
[
".tmpl",
"tmpl"
],
[
".ui",
"bui"
],
[
".dspy",
"dspy"
],
[
".wss",
"ws"
]
],
"indexes": [
"index.ui",
"index.html"
],
"session_max_time": 28800,
"session_issue_time": 7200,
"paths": [
[
"$[workdir]$/wwwroot",
""
]
]
},
"modules": [
"apppublic",
"sqlor",
"ahserver",
"appbase",
"rbac",
"world",
"scene",
"entity",
"script_engine",
"world_snapshot",
"world_sync"
],
"wwwroot": "wwwroot"
}