Support ElasticSearch Container.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
53b0507eb2
commit
8c392e94f2
|
@ -272,6 +272,18 @@ services:
|
||||||
links:
|
links:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
|
### ElasticSearch Container ##################################
|
||||||
|
|
||||||
|
elasticsearch:
|
||||||
|
build: ./elasticsearch
|
||||||
|
volumes_from:
|
||||||
|
- volumes_data
|
||||||
|
ports:
|
||||||
|
- "9200:9200"
|
||||||
|
- "9300:9300"
|
||||||
|
links:
|
||||||
|
- php-fpm
|
||||||
|
|
||||||
### Laravel Application Code Container ######################
|
### Laravel Application Code Container ######################
|
||||||
|
|
||||||
volumes_source:
|
volumes_source:
|
||||||
|
@ -295,5 +307,6 @@ services:
|
||||||
- ./data/mongo:/data/db
|
- ./data/mongo:/data/db
|
||||||
- ./data/aerospike:/opt/aerospike/data
|
- ./data/aerospike:/opt/aerospike/data
|
||||||
- ./data/sessions:/sessions
|
- ./data/sessions:/sessions
|
||||||
|
- ./data/elasticsearch/data:/usr/share/elasticsearch/data
|
||||||
|
|
||||||
### Add more Containers below ###############################
|
### Add more Containers below ###############################
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
FROM elasticsearch:latest
|
||||||
|
|
||||||
|
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
|
||||||
|
|
||||||
|
EXPOSE 9200 9300
|
Loading…
Reference in New Issue