diff --git a/application/config/production_config.yaml b/application/config/production_config.yaml index e026586868eb9d50394108878615394f8eaafb4a..045ab3a592bf02ce5727871ce395c22a85887625 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;