File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,30 @@ services:
180
180
- ${MAILHOG_SMTP_PORT}:1025
181
181
- ${MAILHOG_HTTP_PORT}:8025
182
182
183
+ elasticsearch :
184
+ image : elasticsearch:${ELASTICSEARCH_TAG}
185
+ container_name : ${PROJECT_NAME}-elasticsearch
186
+ hostname : elasticsearch
187
+ restart : always
188
+ stop_grace_period : 10s
189
+ environment :
190
+ discovery.type : single-node
191
+ ES_JAVA_OPTS : -Xms1g -Xmx1g
192
+ xpack.security.enabled : false
193
+ volumes :
194
+ - elasticsearch-data:/usr/share/elasticsearch/data
195
+ ports :
196
+ - ${ELASTICSEARCH_PORT}:9200
197
+
198
+ kibana :
199
+ image : kibana:${KIBANA_TAG}
200
+ container_name : ${PROJECT_NAME}-kibana
201
+ hostname : kibana
202
+ restart : always
203
+ stop_grace_period : 10s
204
+ ports :
205
+ - ${KIBANA_PORT}:5601
206
+
183
207
networks :
184
208
default :
185
209
name : $PROJECT_NAME
You can’t perform that action at this time.
0 commit comments