summaryrefslogtreecommitdiffstats
path: root/docker-compose-db.yml
blob: 24024d0cfb4bf05cb0741036c00f409ef91fa58e (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
42
43
version: '2'
services:
  aai.hbase.simpledemo.onap.org:
    image: cassandra:2.1
    hostname: aai.hbase.simpledemo.onap.org
    ports:
      - 7000:7000
      - 7001:7001
      - 7199:7199
      - 9042:9042
    environment:
      - CASSANDRA_SEEDS=aai.hbase.simpledemo.onap.org
      - CASSANDRA_DC=Heat
      - CASSANDRA_RACK=Rack1
      - CASSANDRA_AUTO_BOOTSTRAP=true
    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: