blob: 7aab1dab8d8644a012de774f21ff9314fbb5b5fb [file] [log] [blame]
BjornMagnussonXA72667f12020-04-24 09:20:18 +02001# ==================================================================================
2# Modifications Copyright (c) 2019 Nordix Foundation.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15# ==================================================================================
16version: '2.1'
17
18networks:
19 default:
20 driver: bridge
21 name: ${DOCKER_SIM_NWNAME}
22
23services:
24 db:
25 image: ${SDNC_ONAP_DB_IMAGE}
26 container_name: ${SDNC_ONAP_DB_APP_NAME}
27 networks:
28 - default
29 ports:
30 - "3306"
31 environment:
32 - MYSQL_ROOT_PASSWORD=openECOMP1.0
33 - MYSQL_ROOT_HOST=%
34 logging:
35 driver: "json-file"
36 options:
37 max-size: "30m"
38 max-file: "5"
39
40 a1-controller:
41 image: ${SDNC_ONAP_A1_ADAPTER_IMAGE}
42 depends_on :
43 - db
44 container_name: ${SDNC_ONAP_APP_NAME}
45 networks:
46 - default
47 entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
48 ports:
49 - ${SDNC_ONAP_EXTERNAL_PORT}:${SDNC_ONAP_INTERNAL_PORT}
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020050 - ${SDNC_ONAP_EXTERNAL_SECURE_PORT}:${SDNC_ONAP_INTERNAL_SECURE_PORT}
BjornMagnussonXA72667f12020-04-24 09:20:18 +020051 links:
52 - db:dbhost
53 - db:sdnctldb01
54 - db:sdnctldb02
55 environment:
56 - MYSQL_ROOT_PASSWORD=openECOMP1.0
57 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
BjornMagnussonXA72667f12020-04-24 09:20:18 +020058 logging:
59 driver: "json-file"
60 options:
61 max-size: "30m"
62 max-file: "5"
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +020063