Skip Wonnell | 439954b | 2018-02-20 15:06:54 -0600 | [diff] [blame] | 1 | # ============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 Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 22 | version: '2' |
| 23 | |
ubuntu | f76caa7 | 2017-05-10 12:53:54 -0400 | [diff] [blame] | 24 | networks: |
| 25 | default: |
| 26 | driver: bridge |
ubuntu | f76caa7 | 2017-05-10 12:53:54 -0400 | [diff] [blame] | 27 | |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 28 | services: |
| 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 Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 37 | logging: |
| 38 | driver: "json-file" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 39 | options: |
| 40 | max-size: "30m" |
| 41 | max-file: "5" |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 42 | |
Hector Anapan | 249b2c0 | 2017-08-16 14:56:54 -0400 | [diff] [blame] | 43 | # 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 Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 46 | appc: |
Patrick Brady | 2ad8214 | 2017-12-13 12:49:38 -0800 | [diff] [blame] | 47 | image: "onap/appc-image:latest" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 48 | depends_on : |
| 49 | - db |
| 50 | container_name: appc_controller_container |
Patrick Brady | 2ad8214 | 2017-12-13 12:49:38 -0800 | [diff] [blame] | 51 | entrypoint: ["/opt/onap/appc/bin/startODL.sh"] |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 52 | ports: |
| 53 | - "8282:8181" |
| 54 | - "1830:1830" |
Patrick Brady | bcdd748 | 2018-05-17 13:41:30 -0700 | [diff] [blame] | 55 | - "9090:9191" |
Patrick Brady | f291e90 | 2018-05-25 12:29:18 -0700 | [diff] [blame] | 56 | - "30290:9191" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 57 | links: |
| 58 | - db:dbhost |
| 59 | - db:sdnctldb01 |
| 60 | - db:sdnctldb02 |
| 61 | environment: |
| 62 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
Patrick Brady | 2ad8214 | 2017-12-13 12:49:38 -0800 | [diff] [blame] | 63 | - SDNC_CONFIG_DIR=/opt/onap/appc/data/properties |
| 64 | - APPC_CONFIG_DIR=/opt/onap/appc/data/properties |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 65 | - DMAAP_TOPIC_ENV=SUCCESS |
| 66 | logging: |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 67 | driver: "json-file" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 68 | options: |
| 69 | max-size: "30m" |
| 70 | max-file: "5" |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 71 | |
| 72 | |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 73 | dgbuilder: |
Victor Morales | 97a6a9a | 2017-09-14 12:05:13 -0700 | [diff] [blame] | 74 | image: "onap/ccsdk-dgbuilder-image:latest" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 75 | depends_on: |
| 76 | - db |
Aaron Hay | 1631aac | 2018-04-26 15:30:18 +0000 | [diff] [blame] | 77 | container_name: ccsdk_dgbuilder_container |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 78 | entrypoint: |
| 79 | - "/bin/bash" |
| 80 | - "-c" |
Aaron Hay | 1631aac | 2018-04-26 15:30:18 +0000 | [diff] [blame] | 81 | - "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 82 | ports: |
| 83 | - "3000:3100" |
| 84 | links: |
| 85 | - db:dbhost |
| 86 | - db:sdnctldb01 |
| 87 | - db:sdnctldb02 |
| 88 | - appc:sdnhost |
| 89 | environment: |
| 90 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
Aaron Hay | 1631aac | 2018-04-26 15:30:18 +0000 | [diff] [blame] | 91 | - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties |
| 92 | logging: |
| 93 | driver: "json-file" |
| 94 | options: |
| 95 | max-size: "30m" |
| 96 | max-file: "5" |
| 97 | |
| 98 | cdt: |
| 99 | image: "onap/appc-cdt-image:latest" |
| 100 | depends_on: |
| 101 | - db |
| 102 | container_name: appc_cdt_container |
| 103 | entrypoint: |
Patrick Brady | 35af46d | 2018-05-29 14:08:46 -0700 | [diff] [blame] | 104 | - "/opt/startCdt.sh" |
Aaron Hay | 1631aac | 2018-04-26 15:30:18 +0000 | [diff] [blame] | 105 | ports: |
| 106 | - "8080:80" |
| 107 | links: |
| 108 | - appc:sdnhost |
| 109 | environment: |
| 110 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
Patrick Brady | 35af46d | 2018-05-29 14:08:46 -0700 | [diff] [blame] | 111 | - CDT_PORT=9090 |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 112 | logging: |
| 113 | driver: "json-file" |
| 114 | options: |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 115 | max-size: "30m" |
Patrick Brady | ac18d4c | 2017-02-22 12:01:39 -0800 | [diff] [blame] | 116 | max-file: "5" |
Hector Anapan | 249b2c0 | 2017-08-16 14:56:54 -0400 | [diff] [blame] | 117 | |