summaryrefslogtreecommitdiffstats
path: root/docker-compose-db.yml
blob: 7f5585809aaedca1271a514f5a9818dc46e81553 (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
version: '2'
services:
  aai.hbase.simpledemo.openecomp.org:
    image: ${HBASE_IMAGE}
    hostname: aai.hbase.simpledemo.openecomp.org
    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"
networks:
  default: 
      driver: bridge
      driver_opts:
        com.docker.network.driver.mtu: ${MTU}