Step version for release
[nonrtric.git] / sdnc-a1-controller / oam / installation / src / main / yaml / docker-compose.yml
index 15c534e..c2b9978 100644 (file)
@@ -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:2.0.0-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