-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
29 lines (25 loc) · 799 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
########################### CLIENT
REACT_APP_PORT=3000
REACT_APP_POST_HOST="posts"
REACT_APP_COMMENT_HOST="comments"
REACT_APP_QUERY_HOST="query-comments-post"
########################### POSTS
POST_PORT=4000
POST_TOPIC="PostCreated"
########################### COMMENTS
COMMENT_PORT=5000
COMMENT_TOPIC="CommentCreated"
########################### QUERY
QUERY_PORT=6000
########################## KAFKA ADMIN
KAFKA_TOPICS="PostCreated,CommentCreated" #set more or less topics here
KAFKA_REPLICATION_FACTOR=3
KAFKA_NUM_PARTITIONS=4
KAFKA_APP="kafka-admin-client"
############### KAFKA
KAFKA_BROKERS="kafka1:19092,kafka2:29092,kafka3:39092" #set more or less brokers here
############### MONGODB
MONGO_HOST="mongo"
MONGO_PORT="27017"
MONGO_USERNAME="root"
MONGO_PASSWORD="root"