Add simulator to docker-compose.yml
[vid.git] / deliveries / src / main / docker / docker-files / docker-compose.yml
index 6445901..eedf732 100755 (executable)
@@ -1,15 +1,21 @@
-version: '3.1'\r
+version: '3.2'\r
+\r
+# Please note this configuration is provided for local development. Do not use it on production.\r
 \r
 services:\r
     vid-server:\r
-        image: nexus3.onap.org:10001/onap/vid\r
+        image: onap/vid:latest\r
         ports:\r
             - "8080:8080"\r
-        links:\r
-            - vid-mariadb:vid-mariadb-docker-instance\r
         environment:\r
             VID_MYSQL_DBNAME: vid_openecomp_epsdk\r
             VID_MYSQL_PASS: YOUR_PASSWORD\r
+            VID_MYSQL_HOST: vid-mariadb\r
+            ASDC_CLIENT_REST_PROTOCOL: http\r
+            ASDC_CLIENT_REST_HOST: vid-simulator\r
+            ASDC_CLIENT_REST_PORT: 1080\r
+            VID_AAI_URL: http://vid-simulator:1080\r
+            VID_MSO_SERVER_URL: http://vid-simulator:1080\r
 \r
     vid-mariadb:\r
         image: mariadb:10\r
@@ -22,4 +28,7 @@ services:
             MYSQL_DATABASE: vid_openecomp_epsdk\r
             MYSQL_USER: vidadmin\r
             MYSQL_PASSWORD: YOUR_PASSWORD\r
-            MYSQL_ROOT_PASSWORD: ROOT_PASSWORD
\ No newline at end of file
+            MYSQL_ROOT_PASSWORD: ROOT_PASSWORD\r
+\r
+    vid-simulator:\r
+        image: onap/vid-simulator:latest
\ No newline at end of file