Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
isidzukuri committed Jan 2, 2025
1 parent f8d94ff commit 67ce599
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
The service consumes kafka event and analyzes text from payload. It stores created BOW in mongodb. Compares the BOW with all other documents and computes similarity between texts. Stores similarity estimation to neo4j.
The service consumes kafka event and analyzes text from payload. It stores created BOW in mongodb. Compares the BOW with all other documents and computes similarity between texts. Stores similarity estimation to neo4j.


Docker compose:
```
text_analyzer:
build:
context: ./../text_analyzer
dockerfile: Dockerfile
env_file: .env
command: /text_analyzer
restart: always
depends_on:
- "kafka-broker"
```


ENV:
```
TEXT_ANALYZER_DB_NAME = text_analyzer
KAFKA_HOST = kafka-broker
KAFKA_PORT = 9093
NEO4J_HOST=neo4j
NEO4J_PORT=7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=your_password
NEO4J_DB=neo4j
MONGODB_URI = mongodb://root:example@mongo:27017/
```

0 comments on commit 67ce599

Please sign in to comment.