blob: 2e8022aa626b3f90992bba10f06a458a906368d4 [file] [log] [blame]
Skip Wonnell439954b2018-02-20 15:06:54 -06001# ============LICENSE_START==========================================
2# ONAP : APPC
3# ===================================================================
4# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
5# ===================================================================
6#
7# Unless otherwise specified, all software contained herein is licensed
8# under the Apache License, Version 2.0 (the License);
9# you may not use this software except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19#
20# ECOMP is a trademark and service mark of AT&T Intellectual Property.
21# ============LICENSE_END============================================
Patrick Brady83514252017-02-13 11:57:08 -080022version: '2'
23
ubuntuf76caa72017-05-10 12:53:54 -040024networks:
25 default:
26 driver: bridge
ubuntuf76caa72017-05-10 12:53:54 -040027
Patrick Brady83514252017-02-13 11:57:08 -080028services:
29 db:
30 image: mysql/mysql-server:5.6
31 container_name: sdnc_db_container
32 ports:
33 - "3306"
34 environment:
35 - MYSQL_ROOT_PASSWORD=openECOMP1.0
36 - MYSQL_ROOT_HOST=%
Hector Anapand8094742017-08-10 03:25:53 -050037 logging:
38 driver: "json-file"
Patrick Brady83514252017-02-13 11:57:08 -080039 options:
40 max-size: "30m"
41 max-file: "5"
Hector Anapand8094742017-08-10 03:25:53 -050042
Hector Anapan249b2c02017-08-16 14:56:54 -040043# Tweaking SDNC_CONFIG_DIR temporarily from ../sdnc/.. to ../appc/.. since it may be needed in this script
44# to map to SDN-C AAI Service Bundle's AAI Activator class inside the gerrit sdnc/adaptors repo, so that
45# the AAI Service bundle loads APP-C's aaiclient.properties instead of SDN-C's aaiclient.properties.
Patrick Brady83514252017-02-13 11:57:08 -080046 appc:
Patrick Brady2ad82142017-12-13 12:49:38 -080047 image: "onap/appc-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080048 depends_on :
49 - db
50 container_name: appc_controller_container
Patrick Brady2ad82142017-12-13 12:49:38 -080051 entrypoint: ["/opt/onap/appc/bin/startODL.sh"]
Patrick Brady83514252017-02-13 11:57:08 -080052 ports:
53 - "8282:8181"
54 - "1830:1830"
55 links:
56 - db:dbhost
57 - db:sdnctldb01
58 - db:sdnctldb02
59 environment:
60 - MYSQL_ROOT_PASSWORD=openECOMP1.0
Patrick Brady2ad82142017-12-13 12:49:38 -080061 - SDNC_CONFIG_DIR=/opt/onap/appc/data/properties
62 - APPC_CONFIG_DIR=/opt/onap/appc/data/properties
Patrick Brady83514252017-02-13 11:57:08 -080063 - DMAAP_TOPIC_ENV=SUCCESS
64 logging:
Hector Anapand8094742017-08-10 03:25:53 -050065 driver: "json-file"
Patrick Brady83514252017-02-13 11:57:08 -080066 options:
67 max-size: "30m"
68 max-file: "5"
Hector Anapand8094742017-08-10 03:25:53 -050069
70
Patrick Brady83514252017-02-13 11:57:08 -080071 dgbuilder:
Victor Morales97a6a9a2017-09-14 12:05:13 -070072 image: "onap/ccsdk-dgbuilder-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080073 depends_on:
74 - db
Hector Anapand8094742017-08-10 03:25:53 -050075 container_name: sdnc_dgbuilder_container
Patrick Brady83514252017-02-13 11:57:08 -080076 entrypoint:
77 - "/bin/bash"
78 - "-c"
Hector Anapan3d9df182017-09-19 13:41:04 -040079 - "cd /opt/onap/sdnc/dgbuilder/ && ./start.sh sdnc1.0 && wait"
Patrick Brady83514252017-02-13 11:57:08 -080080 ports:
81 - "3000:3100"
82 links:
83 - db:dbhost
84 - db:sdnctldb01
85 - db:sdnctldb02
86 - appc:sdnhost
87 environment:
88 - MYSQL_ROOT_PASSWORD=openECOMP1.0
Hector Anapan3d9df182017-09-19 13:41:04 -040089 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
Hector Anapand8094742017-08-10 03:25:53 -050090 logging:
91 driver: "json-file"
92 options:
Patrick Brady83514252017-02-13 11:57:08 -080093 max-size: "30m"
Patrick Bradyac18d4c2017-02-22 12:01:39 -080094 max-file: "5"
Hector Anapan249b2c02017-08-16 14:56:54 -040095