summaryrefslogtreecommitdiffstats
path: root/docker-compose-app.yml
blob: c59099b48c2da9bed2bb78bb28647fa6a0393029 (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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
version: '2'
services:
  aai-resources.api.simpledemo.onap.org:
    image: ${DOCKER_REGISTRY}/onap/aai-resources
    hostname: aai-resources.api.simpledemo.onap.org
    environment:
      - LOCAL_USER_ID=${USER_ID}
      - LOCAL_GROUP_ID=${GROUP_ID}
    ports:
      - 8447:8447
    volumes:
      - ${RESOURCES_LOGS}:/opt/aai/logroot/AAI-RES
      - /opt/test-config/aai-resources/appconfig/titan-realtime.properties:/opt/app/aai-resources/resources/etc/appprops/titan-realtime.properties
      - /opt/test-config/aai-resources/appconfig/titan-cached.properties:/opt/app/aai-resources/resources/etc/appprops/titan-cached.properties
      - /opt/test-config/aai-resources/appconfig/aaiconfig.properties:/opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties
      - /opt/test-config/aai-resources/appconfig/application.properties:/opt/app/aai-resources/resources/application.properties
      - /opt/test-config/aai-resources/appconfig/logback.xml:/opt/app/aai-resources/resources/logback.xml
      - /opt/test-config/aai-resources/appconfig/localhost-access-logback.xml:/opt/app/aai-resources/resources/localhost-access-logback.xml
      - /opt/test-config/aai-resources/appconfig/aai_keystore:/opt/app/aai-resources/resources/etc/auth/aai_keystore
      - /opt/test-config/aai-resources/appconfig/realm.properties:/opt/app/aai-resources/resources/etc/auth/realm.properties
    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
      - /opt/test-config/aai-traversal/appconfig/titan-realtime.properties:/opt/app/aai-traversal/resources/etc/appprops/titan-realtime.properties
      - /opt/test-config/aai-traversal/appconfig/titan-cached.properties:/opt/app/aai-traversal/resources/etc/appprops/titan-cached.properties
      - /opt/test-config/aai-traversal/appconfig/aaiconfig.properties:/opt/app/aai-traversal/resources/etc/appprops/aaiconfig.properties
      - /opt/test-config/aai-traversal/appconfig/application.properties:/opt/app/aai-traversal/resources/application.properties
      - /opt/test-config/aai-traversal/appconfig/logback.xml:/opt/app/aai-traversal/resources/logback.xml
      - /opt/test-config/aai-traversal/appconfig/localhost-access-logback.xml:/opt/app/aai-traversal/resources/localhost-access-logback.xml
      - /opt/test-config/aai-traversal/appconfig/aai_keystore:/opt/app/aai-traversal/resources/etc/auth/aai_keystore
      - /opt/test-config/aai-traversal/appconfig/realm.properties:/opt/app/aai-traversal/resources/etc/auth/realm.properties
    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"

  champ-service:
    image: ${DOCKER_REGISTRY}/onap/champ-service
    hostname: champ-service
    volumes:
      - ${CHAMP_LOGS}:/logs
      - /opt/test-config/champ-service/appconfig:/opt/app/champ-service/config
      - /opt/test-config/champ-service/dynamic:/opt/app/champ-service/dynamic
    ports:
      - 9522:9522
    environment:
      - CONFIG_HOME=/opt/app/champ-service/config/
      - KEY_STORE_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      - KEY_MANAGER_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      - AJSC_JETTY_ThreadCount_MIN=5
      - AJSC_JETTY_ThreadCount_MAX=200
      - AJSC_JETTY_BLOCKING_QUEUE_SIZE=200
      - MAX_HEAP=1024
      - SERVICE_BEANS=/opt/app/champ-service/dynamic/conf
      - GRAPHIMPL=titan-deps
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"
        
  crud-service:
    image: ${DOCKER_REGISTRY}/onap/crud-service
    hostname: crud-service
    volumes:
      - ${CRUD_LOGS}:/logs
      - /opt/test-config/crud-service/appconfig:/opt/app/crud-service/config
      - /opt/test-config/crud-service/dynamic:/opt/app/crud-service/dynamic
    ports:
      - 9520:9520
    environment:
      - CONFIG_HOME=/opt/app/crud-service/config/
      - KEY_STORE_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      - KEY_MANAGER_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      - AJSC_JETTY_ThreadCount_MIN=5
      - AJSC_JETTY_ThreadCount_MAX=200
      - AJSC_JETTY_BLOCKING_QUEUE_SIZE=200
      - MAX_HEAP=1024
      - SERVICE_BEANS=/opt/app/crud-service/dynamic/conf
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"

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