summaryrefslogtreecommitdiffstats
path: root/docker-compose-db.yml
blob: c66d651bf86669b047615a059291d430bd3a0e67 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '2'
services:
  aai.hbase.simpledemo.openecomp.org:
    image: ${HBASE_IMAGE}:${HBASE_VERSION}
    hostname: aai.hbase.simpledemo.openecomp.org
    ports:
      - 2181:2181
      - 8080:8080
      - 8085:8085
      - 9090:9090
      - 16000:16000
      - 16010:16010
      - 16201:16201
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"
  aai.elasticsearch.simpledemo.openecomp.org:
    image: elasticsearch:2.4.1
    hostname: aai.elasticsearch.simpledemo.openecomp.org
    container_name: elasticsearch
    ports:
      - "9200:9200"
    volumes:
      - /opt/test-config/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
      - es-data:/usr/share/elasticsearch/data
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"

networks:
  default: 
      driver: bridge
      driver_opts:
        com.docker.network.driver.mtu: ${MTU}

volumes:
  es-data: