X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sdnc-a1-controller%2Foam%2Finstallation%2Fsrc%2Fmain%2Fyaml%2Fdocker-compose.yml;h=705135157e29d9070ddbbf01c0aefa8025f70359;hb=ef3dfbede0a7430e8f7272a599e64d8cea71d017;hp=15c534e31fac1ac8efe2f384ed44be932dc2359a;hpb=8274ad7787adec74b7639465827fa44b99ba64c9;p=nonrtric.git diff --git a/sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml b/sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml index 15c534e3..70513515 100644 --- a/sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml +++ b/sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml @@ -1,16 +1,31 @@ +# ================================================================================== +# Modifications Copyright (c) 2019 Nordix Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ================================================================================== version: '2.1' networks: default: driver: bridge - driver_opts: - com.docker.network.driver.mtu: ${MTU} - + name: nonrtric-docker-net services: db: image: mysql/mysql-server:5.6 container_name: sdnc_db_container + networks: + - default ports: - "3306" environment: @@ -23,13 +38,16 @@ services: max-file: "5" a1-controller: - image: nonrtric-a1-controller:latest + image: o-ran-sc/nonrtric-a1-controller:1.7.4-SNAPSHOT depends_on : - db - container_name: sdnc_controller_container + container_name: a1-controller-container + networks: + - default entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"] ports: - "8282:8181" + - "8383:8443" links: - db:dbhost - db:sdnctldb01