summaryrefslogtreecommitdiffstats
path: root/docker-compose-app.yml
blob: 18d5f9a40587c7012270d4d99c45f148f1bd96ae (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
version: '2'
services:
  aai-resources.api.simpledemo.openecomp.org:
    image: ${DOCKER_REGISTRY}/openecomp/aai-resources
    hostname: aai-resources.api.simpledemo.openecomp.org
    environment:
      - AAI_CHEF_ENV=simpledemo
      - AAI_CHEF_LOC=/var/chef/aai-data/environments
      - CHEF_BRANCH=master
      - CHEF_GIT_URL=http://gerrit.onap.org/r/aai
    ports: 
      - 8447:8447
    volumes: 
      - ${RESOURCES_LOGS}:/opt/aai/logroot/AAI-RES
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"
  aai-traversal.api.simpledemo.openecomp.org:
    image: ${DOCKER_REGISTRY}/openecomp/aai-traversal
    hostname: aai-traversal.api.simpledemo.openecomp.org
    environment:
      - AAI_CHEF_ENV=simpledemo
      - AAI_CHEF_LOC=/var/chef/aai-data/environments
      - CHEF_BRANCH=master
      - CHEF_GIT_URL=http://gerrit.onap.org/r/aai
    volumes: 
      - ${TRAVERSAL_LOGS}:/opt/aai/logroot/AAI-GQ
    ports: 
      - 8446:8446
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"
  aai.api.simpledemo.openecomp.org:
    image: ${AAI_HAPROXY_IMAGE}
    hostname: aai.api.simpledemo.openecomp.org
    ports: 
      - 8443:8443
    links: 
      - aai-resources.api.simpledemo.openecomp.org
      - aai-traversal.api.simpledemo.openecomp.org
    volumes:
      - /dev/log:/dev/log
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"
networks:
  default: 
      driver: bridge
      driver_opts:
        com.docker.network.driver.mtu: ${MTU}