5a2712b4e6bc05f03e64f0107556d05c873686ce
[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     logging:
38       driver: "json-file"
39       options:
40         max-size: "30m"
41         max-file: "5"