full_install_osm.sh: added cadvisor ports to osm_ports.sh 19/8319/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 4 Dec 2019 14:06:55 +0000 (15:06 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 4 Dec 2019 14:07:22 +0000 (15:07 +0100)
Change-Id: I71783ce1434a06e814cc7fcab189cde1f7cfe0d8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/docker/docker-compose.yaml
installers/full_install_osm.sh

index 340cb84..b87f27b 100644 (file)
@@ -269,4 +269,4 @@ services:
     ports:
       - "${OSM_GRAFANA_PORTS:-3000:3000}"
     networks:
-      - netOSM
\ No newline at end of file
+      - netOSM
index 0bf2e20..38e50c6 100755 (executable)
@@ -1055,6 +1055,7 @@ function deploy_lightweight() {
     OSM_UI_PORT=80
     OSM_MON_PORT=8662
     OSM_PROM_PORT=9090
+    OSM_PROM_CADVISOR_PORT=8080
     OSM_PROM_HOSTPORT=9091
     OSM_GRAFANA_PORT=3000
     [ -n "$INSTALL_ELK" ] && OSM_ELK_PORT=5601
@@ -1067,6 +1068,7 @@ function deploy_lightweight() {
         OSM_PORTS+=(OSM_UI_PORTS=$OSM_UI_PORT)
         OSM_PORTS+=(OSM_MON_PORTS=$OSM_MON_PORT)
         OSM_PORTS+=(OSM_PROM_PORTS=$OSM_PROM_PORT)
+        OSM_PORTS+=(OSM_PROM_CADVISOR_PORTS=$OSM_PROM_CADVISOR_PORT)
         OSM_PORTS+=(OSM_GRAFANA_PORTS=$OSM_GRAFANA_PORT)
         #[ -n "$INSTALL_PERFMON" ] && OSM_PORTS+=(OSM_PM_PORTS=$OSM_PM_PORT)
         [ -n "$INSTALL_ELK" ] && OSM_PORTS+=(OSM_ELK_PORTS=$OSM_ELK_PORT)
@@ -1077,6 +1079,7 @@ function deploy_lightweight() {
         OSM_PORTS+=(OSM_UI_PORTS=$OSM_UI_PORT:$OSM_UI_PORT)
         OSM_PORTS+=(OSM_MON_PORTS=$OSM_MON_PORT:$OSM_MON_PORT)
         OSM_PORTS+=(OSM_PROM_PORTS=$OSM_PROM_HOSTPORT:$OSM_PROM_PORT)
+        OSM_PORTS+=(OSM_PROM_CADVISOR_PORTS=$OSM_PROM_CADVISOR_PORT:$OSM_PROM_CADVISOR_PORT)
         OSM_PORTS+=(OSM_GRAFANA_PORTS=$OSM_GRAFANA_PORT:$OSM_GRAFANA_PORT)
         #[ -n "$INSTALL_PERFMON" ] && OSM_PORTS+=(OSM_PM_PORTS=$OSM_PM_PORT:$OSM_PM_PORT)
         [ -n "$INSTALL_ELK" ] && OSM_PORTS+=(OSM_ELK_PORTS=$OSM_ELK_PORT:$OSM_ELK_PORT)