docker-compose.yml
author Riwad Salim
Tue, 05 Jun 2018 18:36:39 +0200
changeset 3 12fb6a535aa6
parent 1 309def3c05dc
permissions -rw-r--r--
Add specific templates to iconolab-mcc and edit docker settings

version: '2.1'

services:

  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
    environment:
      # - "transport.host=127.0.0.1"
      # - "http.cors.enabled=true"
      # - "http.cors.allow-origin=*"
      # - "http.cors.allow-headers=Authorization"
      - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
      - "discovery.type=single-node"
    ports:
      - 9200:9200
      - 9300:9300
    volumes:
      - /usr/share/elasticsearch/data

  postgres:
    image: postgres:alpine
    ports:
      - 5432:5432
    volumes:
      - /var/lib/postgresql/data