Explorar o código

FD3-287 docker genieacs

Guillermo Espinoza %!s(int64=7) %!d(string=hai) anos
pai
achega
b0e8f12a7f
Modificáronse 1 ficheiros con 26 adicións e 3 borrados
  1. 26 3
      tools/src/Release.php

+ 26 - 3
tools/src/Release.php

@@ -351,11 +351,34 @@ $oauth_client_secret = "5w7gx6ptdoo4g8cwwo88o8gowosgco84sso08ssow0osg88g8k";
         ->restart("always")
 	;
 
-	$composer->addService("genieacs")
-		->image("thebinary/genieacs:latest")
+	$composer->addService("genieacs-cwmp")
+        ->build("extra/genieacs/genieacs-cwmp")
         ->addLinks("mongodb")
         ->addLinks("redis")
-        ->addPorts("7777", "7777")
+        ->addPorts("7547", "7547")
+        ->restart("always")
+	;
+
+	$composer->addService("genieacs-nbi")
+        ->build("extra/genieacs/genieacs-nbi")
+        ->addLinks("mongodb")
+        ->addLinks("redis")
+        ->addPorts("7557", "7557")
+        ->restart("always")
+	;
+
+	$composer->addService("genieacs-fs")
+        ->build("extra/genieacs/genieacs-fs")
+        ->addLinks("mongodb")
+        ->addLinks("redis")
+        ->addPorts("7567", "7567")
+        ->restart("always")
+	;
+
+	$composer->addService("genieacs-gui")
+        ->build("extra/genieacs/genieacs-gui")
+        ->addLinks("genieacs-nbi")
+        ->addPorts("3001", "3000")
         ->restart("always")
 	;