summaryrefslogtreecommitdiffstats
path: root/docker-compose-app.yml
blob: 6a6ccff17fddc411f2730f4754b9bfc38db499ee (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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: '2'
services:
  aai-resources.api.simpledemo.onap.org:
    image: ${DOCKER_REGISTRY}/onap/aai-resources
    hostname: aai-resources.api.simpledemo.onap.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
      - LOCAL_USER_ID=${USER_ID}
    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.onap.org:
    image: ${DOCKER_REGISTRY}/onap/aai-traversal
    hostname: aai-traversal.api.simpledemo.onap.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
      - LOCAL_USER_ID=${USER_ID}
    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.onap.org:
    image: ${AAI_HAPROXY_IMAGE}:${AAI_HAPROXY_VERSION}
    hostname: aai.api.simpledemo.onap.org
    ports:
      - 8443:8443
    links:
      - aai-resources.api.simpledemo.onap.org
      - aai-traversal.api.simpledemo.onap.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}/onap/search-data-service
    hostname: aai.searchservice.simpledemo.openecomp.org
    volumes:
      - ${SEARCH_LOGS}:/logs
      - /opt/test-config/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}/onap/data-router
    hostname: data-router
    volumes:
      - ${DATA_ROUTER_LOGS}:/logs
      - /opt/test-config/data-router/appconfig:/opt/app/data-router/config
      - /opt/test-config/data-router/dynamic:/opt/app/data-router/dynamic
    ports:
      - 9502:9502
    environment:
      - CONFIG_HOME=/opt/app/data-router/config/
      - KEY_STORE_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      - 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}/onap/model-loader
    hostname: model-loader
    volumes:
      - ${MODEL_LOADER_LOGS}:/logs
      - /opt/test-config/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"

  sparky-be:
    image: ${DOCKER_REGISTRY}/onap/sparky-be
    hostname: sparky-be
    volumes:
      - ${UI_LOGS}:/logs
      - /opt/test-config/sparky/appconfig:/opt/app/sparky/config
    ports:
      - 9517:9517
    environment:
      - CONFIG_HOME=/opt/app/sparky/config
      - KEY_STORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
      - KEY_MANAGER_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"
        
networks:
  default:
      driver: bridge
      driver_opts:
        com.docker.network.driver.mtu: ${MTU}