docker-compose.yml
author Riwad Salim
Wed, 23 May 2018 12:42:37 +0200
changeset 1 309def3c05dc
child 3 12fb6a535aa6
permissions -rw-r--r--
Adding specific items to iconolab-mcc project interface
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     1
version: '2.1'
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     2
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     3
services:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     4
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     5
  elasticsearch:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     6
    image: elasticsearch:1.7-alpine
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     7
    environment:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     8
      - "transport.host=127.0.0.1"
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     9
      - "http.cors.enabled=true"
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    10
      - "http.cors.allow-origin=*"
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    11
      - "http.cors.allow-headers=Authorization"
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    12
      - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    13
    ports:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    14
      - 9200:9200
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    15
    volumes:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    16
      - /usr/share/elasticsearch/data
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    17
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    18
  postgres:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    19
    image: postgres:alpine
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    20
    ports:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    21
      - 5432:5432
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    22
    volumes:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    23
      - /var/lib/postgresql/data
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    24