Commit 8922816 1 parent f4c2329 commit 8922816 Copy full SHA for 8922816
File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -108,5 +108,44 @@ services:
108
108
- REDIS_1_HOST=redis
109
109
- REDIS_1_PORT=6379
110
110
111
+ elasticsearch :
112
+ image : elasticsearch:7.1.1
113
+ container_name : elasticsearch7.1.1
114
+ environment :
115
+ - discovery.type=single-node
116
+ - " ES_JAVA_OPTS=-Xms512m -Xmx512m"
117
+ volumes :
118
+ - esdata:/usr/share/elasticsearch/data
119
+ hostname : elasticsearch
120
+ restart : always
121
+ ports :
122
+ - 9200:9200
123
+ - 9300:9300
124
+ kibana :
125
+ image : kibana:7.1.1
126
+ container_name : kibana7.1.1
127
+ environment :
128
+ - elasticsearch.hosts=http://elasticsearch:9200
129
+ hostname : kibana
130
+ depends_on :
131
+ - elasticsearch
132
+ restart : always
133
+ ports :
134
+ - " 5601:5601"
135
+ logstash :
136
+ image : logstash:7.1.1
137
+ container_name : logstash7.1.1
138
+ hostname : logstash
139
+ restart : always
140
+ depends_on :
141
+ - elasticsearch
142
+ ports :
143
+ - 9600:9600
144
+ - 5044:5044
145
+
146
+ volumes :
147
+ esdata :
148
+ driver : local
149
+
111
150
networks :
112
151
default :
You can’t perform that action at this time.
0 commit comments