blob: b5f05063e710b9a0e28075a4ae70771685964017 [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:
Patrick Brady11406322019-03-11 13:01:24 -070030 image: mariadb:10.4.3
Patrick Brady83514252017-02-13 11:57:08 -080031 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
Aaron Hayb281f522018-10-04 09:24:45 +000043 ansible:
Aaron Hay2e42fdc2018-10-06 09:11:41 +000044 image: onap/ccsdk-ansible-server-image:latest
Aaron Hayb281f522018-10-04 09:24:45 +000045 depends_on :
46 - db
Taka Cho4e45e4e2019-01-29 09:00:25 -050047 container_name: appc_ansible_container
Aaron Hayb281f522018-10-04 09:24:45 +000048 entrypoint: ["/opt/onap/ccsdk/startAnsibleServer.sh"]
49 ports:
50 - "8000"
51 links:
52 - db:dbhost
Taka Cho7eca83b2018-10-09 12:07:54 -040053 - db:sdnctldb01
54 - db:sdnctldb02
Aaron Hayb281f522018-10-04 09:24:45 +000055 environment:
56 - MYSQL_ROOT_PASSWORD=openECOMP1.0
57 logging:
58 driver: "json-file"
59 options:
60 max-size: "30m"
61 max-file: "5"
62
63
Hector Anapan249b2c02017-08-16 14:56:54 -040064# Tweaking SDNC_CONFIG_DIR temporarily from ../sdnc/.. to ../appc/.. since it may be needed in this script
65# to map to SDN-C AAI Service Bundle's AAI Activator class inside the gerrit sdnc/adaptors repo, so that
66# the AAI Service bundle loads APP-C's aaiclient.properties instead of SDN-C's aaiclient.properties.
Patrick Brady83514252017-02-13 11:57:08 -080067 appc:
Patrick Brady2ad82142017-12-13 12:49:38 -080068 image: "onap/appc-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080069 depends_on :
70 - db
Aaron Hayb281f522018-10-04 09:24:45 +000071 - ansible
Patrick Brady83514252017-02-13 11:57:08 -080072 container_name: appc_controller_container
Patrick Brady2ad82142017-12-13 12:49:38 -080073 entrypoint: ["/opt/onap/appc/bin/startODL.sh"]
Patrick Brady83514252017-02-13 11:57:08 -080074 ports:
Taka Chod3f590c2019-06-11 17:04:50 -040075 - "8443:8443"
Patrick Brady83514252017-02-13 11:57:08 -080076 - "8282:8181"
77 - "1830:1830"
Patrick Bradybcdd7482018-05-17 13:41:30 -070078 - "9090:9191"
Patrick Brady381bae72018-05-25 12:29:18 -070079 - "30290:9191"
Patrick Brady83514252017-02-13 11:57:08 -080080 links:
81 - db:dbhost
Taka Cho7eca83b2018-10-09 12:07:54 -040082 - db:sdnctldb01
83 - db:sdnctldb02
Aaron Hayb281f522018-10-04 09:24:45 +000084 - ansible:ansiblehost
Patrick Brady83514252017-02-13 11:57:08 -080085 environment:
86 - MYSQL_ROOT_PASSWORD=openECOMP1.0
Patrick Brady2ad82142017-12-13 12:49:38 -080087 - SDNC_CONFIG_DIR=/opt/onap/appc/data/properties
88 - APPC_CONFIG_DIR=/opt/onap/appc/data/properties
Patrick Brady83514252017-02-13 11:57:08 -080089 - DMAAP_TOPIC_ENV=SUCCESS
90 logging:
Hector Anapand8094742017-08-10 03:25:53 -050091 driver: "json-file"
Patrick Brady83514252017-02-13 11:57:08 -080092 options:
93 max-size: "30m"
94 max-file: "5"
Hector Anapand8094742017-08-10 03:25:53 -050095
96
Patrick Brady83514252017-02-13 11:57:08 -080097 dgbuilder:
Victor Morales97a6a9a2017-09-14 12:05:13 -070098 image: "onap/ccsdk-dgbuilder-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080099 depends_on:
100 - db
Aaron Hay1631aac2018-04-26 15:30:18 +0000101 container_name: ccsdk_dgbuilder_container
Patrick Brady83514252017-02-13 11:57:08 -0800102 entrypoint:
103 - "/bin/bash"
104 - "-c"
Aaron Hay1631aac2018-04-26 15:30:18 +0000105 - "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"
Patrick Brady83514252017-02-13 11:57:08 -0800106 ports:
107 - "3000:3100"
108 links:
109 - db:dbhost
Taka Cho7eca83b2018-10-09 12:07:54 -0400110 - db:sdnctldb01
111 - db:sdnctldb02
Patrick Brady83514252017-02-13 11:57:08 -0800112 - appc:sdnhost
113 environment:
114 - MYSQL_ROOT_PASSWORD=openECOMP1.0
Aaron Hay1631aac2018-04-26 15:30:18 +0000115 - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
116 logging:
117 driver: "json-file"
118 options:
119 max-size: "30m"
120 max-file: "5"
121
122 cdt:
123 image: "onap/appc-cdt-image:latest"
124 depends_on:
125 - db
126 container_name: appc_cdt_container
127 entrypoint:
Patrick Brady27525d82018-05-29 14:08:46 -0700128 - "/opt/startCdt.sh"
Aaron Hay1631aac2018-04-26 15:30:18 +0000129 ports:
Taka Choeeb70bd2019-03-01 14:33:58 -0500130 - "8080:18080"
Aaron Hay1631aac2018-04-26 15:30:18 +0000131 links:
132 - appc:sdnhost
133 environment:
134 - MYSQL_ROOT_PASSWORD=openECOMP1.0
Patrick Brady27525d82018-05-29 14:08:46 -0700135 - CDT_PORT=9090
Hector Anapand8094742017-08-10 03:25:53 -0500136 logging:
137 driver: "json-file"
138 options:
Patrick Brady83514252017-02-13 11:57:08 -0800139 max-size: "30m"
Patrick Bradyac18d4c2017-02-22 12:01:39 -0800140 max-file: "5"
Hector Anapan249b2c02017-08-16 14:56:54 -0400141