Initial LisgloSIPS V2 implementation

This commit is contained in:
hectorzhao
2026-06-22 10:56:38 +08:00
commit 5fa1bd35e9
303 changed files with 35644 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>LisgloSIPS HOMER</title>
</head>
<body>
<main>
<h1>LisgloSIPS HOMER</h1>
<p>HOMER API 与 HEP 存储服务已就绪。</p>
</main>
</body>
</html>
@@ -0,0 +1,73 @@
{
"database_data": {
"LocalNode": {
"node": "LocalNode",
"user": "homer_user",
"pass": "<HOMER_DB_PASSWORD>",
"name": "homer_data",
"keepalive": true,
"host": "127.0.0.1"
}
},
"database_config": {
"node": "LocalConfig",
"user": "homer_user",
"pass": "<HOMER_DB_PASSWORD>",
"name": "homer_config",
"keepalive": true,
"host": "127.0.0.1"
},
"hep_relay": {
"host": "100.90.90.91",
"port": 9060
},
"prometheus_config": {
"enable": true,
"host": "http://127.0.0.1:9090",
"api": "api/v1"
},
"influxdb_config": {
"enable": false
},
"loki_config": {
"enable": false
},
"grafana_config": {
"enable": true,
"host": "http://127.0.0.1:3001",
"path": "grafana",
"proxy_control": false
},
"http_settings": {
"host": "127.0.0.1",
"port": 9080,
"root": "/usr/local/homer/dist",
"gzip": false,
"gzip_static": false,
"path": "/",
"debug": false
},
"swagger": {
"enable": true,
"api_json": "/etc/homer/swagger.json",
"api_host": "homer.lisglosips.local"
},
"system_settings": {
"logpath": "/var/log/homer",
"logname": "homer-app.log",
"loglevel": "info",
"logstdout": true
},
"auth_settings": {
"type": "internal",
"jwt_secret": "<HOMER_JWT_SECRET>",
"gravatar": false,
"token_expire": 1200,
"user_groups": ["admin", "user", "support"]
},
"api_settings": {
"enable_token_access": false,
"add_captid_to_resolve": false
}
}