summaryrefslogtreecommitdiff
path: root/vendor/ruflin/elastica/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ruflin/elastica/docker-compose.yml')
-rw-r--r--vendor/ruflin/elastica/docker-compose.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/ruflin/elastica/docker-compose.yml b/vendor/ruflin/elastica/docker-compose.yml
new file mode 100644
index 00000000..674d6e9e
--- /dev/null
+++ b/vendor/ruflin/elastica/docker-compose.yml
@@ -0,0 +1,27 @@
+elastica:
+ #build: . # In case the image must be built locally
+ image: ruflin/elastica
+ ports:
+ - "9200:9200"
+ volumes:
+ - .:/app
+ links:
+ - nginx
+ - elasticsearch
+ environment:
+ - ES_HOST=elasticsearch
+ - PROXY_HOST=nginx
+elasticsearch:
+ #build: ./env/elasticsearch/ # In case image must be built locally
+ image: ruflin/elasticsearch-elastica
+nginx:
+ image: nginx
+ volumes:
+ - ./env/nginx/nginx.conf:/etc/nginx/nginx.conf
+ - ./env/nginx/mime.types:/etc/nginx/mime.types
+ ports:
+ - "12345"
+ - "12346"
+ - "80"
+ links:
+ - elasticsearch