File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,6 +272,18 @@ services:
272272 links :
273273 - postgres
274274
275+ # ## ElasticSearch Container ##################################
276+
277+ elasticsearch :
278+ build : ./elasticsearch
279+ volumes_from :
280+ - volumes_data
281+ ports :
282+ - " 9200:9200"
283+ - " 9300:9300"
284+ links :
285+ - php-fpm
286+
275287# ## Laravel Application Code Container ######################
276288
277289 volumes_source :
@@ -295,5 +307,6 @@ services:
295307 - ./data/mongo:/data/db
296308 - ./data/aerospike:/opt/aerospike/data
297309 - ./data/sessions:/sessions
310+ - ./data/elasticsearch/data:/usr/share/elasticsearch/data
298311
299312# ## Add more Containers below ###############################
Original file line number Diff line number Diff line change 1+ FROM elasticsearch:latest
2+
3+ MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
4+
5+ EXPOSE 9200 9300
You can’t perform that action at this time.
0 commit comments