f7c46c86cc70140dba9a42f2bd4340e396c91bc2
[aai/resources.git] /
1 #
2 # ============LICENSE_START=======================================================
3 # org.onap.aai
4 # ================================================================================
5 # Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #    http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19 #
20 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 #
22
23 # SCLD_ENV is for the environment context for dme2
24 # AAI_CHEF_ENV is used for both dme2 properites and
25 # also used by chef to generate appropriate properties
26
27 version: '2'
28 services:
29   aai-resources:
30     image: __REGISTRY__/__NAMESPACE__/aai-resources:__IMAGE_VERSION__
31     network_mode: host
32     environment:
33       - LOCAL_USER_ID=__LOCAL_USER_ID__
34       - LOCAL_GROUP_ID=__LOCAL_GROUP_ID__
35     volumes:
36       - /opt/aai/logroot/AAI-RES:/opt/aai/logroot/AAI-RES
37       - /opt/app/aai-resources/appconfig/aai-client-cert.p12:/opt/app/aai-resources/resources/etc/auth/aai-client-cert.p12
38       - /opt/app/aai-resources/appconfig/aai_keystore:/opt/app/aai-resources/resources/etc/auth/aai_keystore
39       - /opt/app/aai-resources/appconfig/aaiconfig.properties:/opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties
40       - /opt/app/aai-resources/appconfig/application.properties:/opt/app/aai-resources/resources/application.properties
41       - /opt/app/aai-resources/appconfig/dme2.properties:/opt/app/aai-resources/resources/dme2.properties
42       - /opt/app/aai-resources/appconfig/localhost-access-logback.xml:/opt/app/aai-resources/resources/localhost-access-logback.xml
43       - /opt/app/aai-resources/appconfig/logback.xml:/opt/app/aai-resources/resources/logback.xml
44       - /opt/app/aai-resources/appconfig/janusgraph-cached.properties:/opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties
45       - /opt/app/aai-resources/appconfig/janusgraph-realtime.properties:/opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties
46     logging:
47       driver: "json-file"
48       options:
49         max-size: "30m"
50         max-file: "5"