From 0cb8c43e45a41405229a532af63d036ffe27db09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E4=B8=BA=E4=B9=8B?= <560397@gree.com.cn> Date: Tue, 21 Nov 2023 11:13:48 +0800 Subject: [PATCH] Update project --- application/config/production_config.yaml | 32 ++++++++++++++++++----- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/application/config/production_config.yaml b/application/config/production_config.yaml index e026586..045ab3a 100644 --- a/application/config/production_config.yaml +++ b/application/config/production_config.yaml @@ -1,14 +1,21 @@ -System: - Env: public +Server: + Name: elasticsearch-log-parse + Tag: + IP: 172.28.12.236 + Port: 5000 + Interval: 30s + Timeout: 30s + Deregister: 60s Database: - Type: mysql - Driver: pymysql - Username: root + Type: postgresql + Driver: psycopg2 + Username: postgres Password: localhost123 Host: localhost - Port: 3306 + Port: 5432 DB: elp + TableName: logs Elasticsearch: Host: 172.28.5.39 @@ -30,3 +37,16 @@ Logger: Rotation: Enqueue: True Retention: + +Scheduler: + Start: 2023-11-20 18:50:00 + End: 2099-11-11 16:00:00 + Timezone: Asia/Shanghai + +ExtraDB: + Host: 172.28.5.39 + Port: 3306 + User: root + Password: gree123 + DB: corpora + Sql: select concat(scene.scene, '.', intent) from intents as i left join scene on scene.id=i.scene_id group by i.intent; -- GitLab