Skip to content

Instantly share code, notes, and snippets.

@Slavenin
Created January 26, 2018 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Slavenin/890af37460d77715ef19a1c9b390f41f to your computer and use it in GitHub Desktop.
Save Slavenin/890af37460d77715ef19a1c9b390f41f to your computer and use it in GitHub Desktop.
{
"proc": {
"pid_file": "/var/run/nxs-chat-srv.pid",
"queue_worker_term_timeout": 10,
"rest_api_term_timeout": 10,
"daemonize": true
},
"logging": {
"level": 31,
"path": "/var/log/nxs-chat-srv/nxs-chat-srv.log"
},
"bind": {
"iface": "0.0.0.0",
"port": 8443,
"ssl": {
"use_ssl": true,
"crt": "/etc/ssl/certs/nginx-selfsigned.crt",
"key": "/etc/ssl/private/nginx-selfsigned.key"
}
},
"telegram": {
"bot_api_addr": "https://api.telegram.org/",
"bot_api_key": "xxxxx:zzzzz",
"auth_token": "yyyyyy",
"webhook_host": "http://1.2.3.4:8443"
},
"mysql": {
"name": "nxs_chat_db",
"user": "root",
"pass": "xxxx",
"host": "127.0.0.1",
"port": 3306
},
"redis": {
"keys_space": "dev",
"cluster": false,
"nodes": [
{
"host": "127.0.0.1",
"port": 6379
}
]
},
"redmine": {
"host": "http://redmine/",
"api_key": "cccc",
"auth_token": "vvv",
"presale_api_key": "tttt",
"presale_project_name": "xdgsd",
"issue_list_query_id": 53,
"ssl_verifyhost": false,
"cf_telegram": 34,
"status_in_progress": 2,
"status_need_feedback": 4,
"status_resolved": 3
},
"ra_queue": {
"pop_timeout_ms": 500,
"queue_workers": 5
},
"cache": {
"projects_ttl": 300,
"users_ttl": 60,
"issue_priorities_ttl": 300,
"lock_file": "/tmp/nxs-chat-srv_cache.lock"
},
"dev_accounts": [
],
"attachments": {
"tlgrm_download_tmp_dir": "/var/spool/nxs-chat-srv/tlgrm",
"rdmn_download_tmp_dir": "/var/spool/nxs-chat-srv/rdmn"
},
"statistic": {
"auth_token": "11111"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment