summaryrefslogtreecommitdiffstats
path: root/docker-compose-db.yml
blob: a0233784fb9208c8ea9b0046ee2f22987149c82a (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '2'
services:
  aai.hbase.simpledemo.openecomp.org:
    image: ${HBASE_IMAGE}
    hostname: aai.hbase.simpledemo.openecomp.org
    ports:
      - 50020:50020
      - 2181:2181
      - 16010:16010
      - 50090:50090
      - 16301:16301
      - 50070:50070
      - 50010:50010
      - 50075:50075
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"
  aai.gremlinserver.simpledemo.openecomp.org:
    image: ${GREMLIN_SERVER_IMAGE}
    hostname: aai.gremlinserver.simpledemo.openecomp.org
    environment:
      - SERVER_HOST=aai.hbase.simpledemo.openecomp.org
      - SERVER_TABLE=aaigraph.dev
      - GREMLIN_HOST=aai.gremlinserver.simpledemo.openecomp.org
    links: 
      - aai.hbase.simpledemo.openecomp.org
    ports: 
      - 8182:8182
    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/app/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: