summaryrefslogtreecommitdiff
path: root/vendor/ruflin/elastica/docker-compose.yml
blob: 674d6e9e0978556468d9b158addf64471c31e404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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