Initial commit - realms platform
This commit is contained in:
parent
c590ab6d18
commit
c717c3751c
234 changed files with 74103 additions and 15231 deletions
49
chat-service/config.json
Normal file
49
chat-service/config.json
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"app": {
|
||||
"threads_num": 4,
|
||||
"enable_session": false,
|
||||
"session_timeout": 0,
|
||||
"document_root": "./",
|
||||
"max_connections": 10000,
|
||||
"max_connections_per_ip": 100,
|
||||
"load_config_file": true,
|
||||
"run_as_daemon": false,
|
||||
"log_path": "",
|
||||
"log_level": "INFO",
|
||||
"log_size_limit": 100000000,
|
||||
"load_libs": [],
|
||||
"use_sendfile": true,
|
||||
"use_gzip": true,
|
||||
"static_files_cache_time": 0,
|
||||
"load_config_in_advance": true,
|
||||
"log_access": true
|
||||
},
|
||||
"listeners": [
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 8081,
|
||||
"https": false
|
||||
}
|
||||
],
|
||||
"redis": {
|
||||
"host": "${REDIS_HOST}",
|
||||
"port": 6379,
|
||||
"db": 1,
|
||||
"timeout": 5
|
||||
},
|
||||
"jwt": {
|
||||
"secret": "${JWT_SECRET}"
|
||||
},
|
||||
"chat": {
|
||||
"default_retention_hours": 24,
|
||||
"max_message_length": 500,
|
||||
"max_messages_per_realm": 1000,
|
||||
"guest_prefix": "guest",
|
||||
"guest_id_pattern": "{prefix}{number}",
|
||||
"cleanup_interval_seconds": 300
|
||||
},
|
||||
"backend_api": {
|
||||
"host": "drogon-backend",
|
||||
"port": 8080
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue