summaryrefslogtreecommitdiffstats
path: root/docker-compose-app.yml
blob: 3ae78ce51d2466e6132c4fb2290e76d07c905713 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
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
      - AAI_CORE_VERSION=1.1.0-SNAPSHOT
    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
      - AAI_CORE_VERSION=1.1.0-SNAPSHOT
    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"

  aai.searchservice.simpledemo.openecomp.org:
    image: ${DOCKER_REGISTRY}/openecomp/search-data-service
    hostname: aai.searchservice.simpledemo.openecomp.org
    volumes:
      - ${SEARCH_LOGS}:/logs
      - /opt/app/search-data-service/appconfig:/opt/app/search-data-service/config
    ports:
      - 9509:9509
    environment:
      - CONFIG_HOME=/opt/app/search-data-service/config/
      - KEY_STORE_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      - KEY_MANAGER_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"

  datarouter:
    image: ${DOCKER_REGISTRY}/openecomp/datarouter-service
    hostname: datarouter
    volumes:
      - ${DATA-ROUTER_LOGS}:/logs
      - /opt/app/datarouter-service/appconfig:/opt/app/data-router/config
      - /opt/app/datarouter-service/dynamic:/opt/app/data-router/dynamic
    ports:
      - 9502:9502
    environment:
      - CONFIG_HOME=/opt/app/data-router/config/
      - KEY_STORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
      - KEY_MANAGER_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      - DYNAMIC_ROUTES=/opt/app/data-router/dynamic/routes
      - SERVICE_BEANS=/opt/app/data-router/dynamic/conf
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"

  model-loader:
    image: ${DOCKER_REGISTRY}/openecomp/model-loader
    hostname: model-loader
    volumes:
      - ${MODEL-LOADER_LOGS}:/logs
      - /opt/app/model-loader/appconfig:/opt/app/model-loader/config
    environment:
      - CONFIG_HOME=/opt/app/model-loader/config/
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"

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