Remove obsoleted admportal from docker-compose
[sdnc/oam.git] / installation / src / main / yaml / docker-compose.yml
index 12ca37b..7adc620 100644 (file)
@@ -59,6 +59,17 @@ services:
     environment:
       - MYSQL_ROOT_PASSWORD=openECOMP1.0
       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
+      - SDNC_BIN=/opt/onap/sdnc/bin
+      - ODL_CERT_DIR=/tmp
+      - ODL_ADMIN_USERNAME=admin
+      - ODL_ADMIN_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+      - SDNC_DB_INIT=true  
+      - A1_TRUSTSTORE_PASSWORD=a1adapter
+    # The default truststore for A1 adapter can be overridden by mounting a new
+    # truststore (uncomment the lines below), whereas the corresponding password
+    # should be updated in A1_TRUSTSTORE_PASSWORD environment variable (in the line above)
+    #volumes:
+    #  - ./a1_truststore.jks:/opt/onap/sdnc/data/stores/truststore.a1.adapter.jks:ro
     dns:
       - ${DNS_IP_ADDR-10.0.100.1}
     logging:
@@ -69,33 +80,6 @@ services:
     extra_hosts:
         aaf.osaaf.org: 10.12.6.214
 
-
-  web:
-    image: onap/admportal-sdnc-image:latest
-    depends_on:
-      - db
-    container_name: sdnc_portal_container
-    entrypoint:
-       - "/bin/bash"
-       - "-c"
-       - "cd /opt/onap/sdnc/admportal/shell && ./start_portal.sh"
-    ports:
-      - "8843:8843"
-    links:
-      - db:dbhost
-      - db:sdnctldb01
-      - db:sdnctldb02
-      - sdnc:sdnhost
-    environment:
-      - MYSQL_ROOT_PASSWORD=openECOMP1.0
-      - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
-    logging:
-      driver:   "json-file"
-      options:
-        max-size: "30m"
-        max-file: "5"
-
-
   dgbuilder:
     image: onap/ccsdk-dgbuilder-image:latest
     depends_on: