docker-compose.yml
author ymh <ymh.work@gmail.com>
Thu, 07 Jun 2018 17:12:48 +0200
changeset 4 9cc447bd5280
parent 3 12fb6a535aa6
permissions -rw-r--r--
correct settings template
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:
3
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
     6
    image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
1
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
     7
    environment:
3
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
     8
      # - "transport.host=127.0.0.1"
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
     9
      # - "http.cors.enabled=true"
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
    10
      # - "http.cors.allow-origin=*"
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
    11
      # - "http.cors.allow-headers=Authorization"
1
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    12
      - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
3
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
    13
      - "discovery.type=single-node"
1
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    14
    ports:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    15
      - 9200:9200
3
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
    16
      - 9300:9300
1
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    17
    volumes:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    18
      - /usr/share/elasticsearch/data
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    19
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    20
  postgres:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    21
    image: postgres:alpine
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    22
    ports:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    23
      - 5432:5432
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    24
    volumes:
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    25
      - /var/lib/postgresql/data
309def3c05dc Adding specific items to iconolab-mcc project interface
Riwad Salim
parents:
diff changeset
    26
3
12fb6a535aa6 Add specific templates to iconolab-mcc and edit docker settings
Riwad Salim
parents: 1
diff changeset
    27