Sfoglia il codice sorgente

Merged in FD3-287 (pull request #13)

FD3-287
Guillermo Espinoza 7 anni fa
parent
commit
a5a3ce138b
1 ha cambiato i file con 17 aggiunte e 4 eliminazioni
  1. 17 4
      tools/src/Release.php

+ 17 - 4
tools/src/Release.php

@@ -15,7 +15,7 @@ class Release extends Command
 {
     protected function configure()
     {
-        $this 
+        $this
         ->setName('make:install')
 
         ->setDescription('Create a new install.')
@@ -121,7 +121,7 @@ inventory=inventory.ini
         "
 	);
 
-	
+
     }
 
     function getHostEnv($fd_domain = "fd3.flowdat.com"){
@@ -345,6 +345,19 @@ $oauth_client_secret = "5w7gx6ptdoo4g8cwwo88o8gowosgco84sso08ssow0osg88g8k";
 		->addVolumes("./mongodb", "/data/db")
 	;
 
+	$composer->addService("redis")
+		->image("redis:latest")
+        ->addPorts("6379", "6379")
+        ->restart("always")
+	;
+
+	$composer->addService("genieacs")
+		->image("thebinary/genieacs:latest")
+        ->addLinks("mongodb")
+        ->addLinks("redis")
+        ->addPorts("7777", "7777")
+        ->restart("always")
+	;
 
 	$composer->addService("statsd")->build("./extra/statsd/statsd")
 		->image($registry."fd3/statsd:$v")
@@ -364,10 +377,10 @@ $oauth_client_secret = "5w7gx6ptdoo4g8cwwo88o8gowosgco84sso08ssow0osg88g8k";
 		->addEnviroment("./extra/supervisord/sshd_config", "/etc/ssh/sshd_config")
 		->addEnviroment("./extra/supervisord/bin/fiberhome", "/usr/bin/fiberhome")
 		->addEnviroment("./extra/supervisord/bin/fiberlink", "/usr/bin/fiberlink")
-	 
+
 	;
 
-	$composer->addService("nginx")->build("extra/nginx/")	
+	$composer->addService("nginx")->build("extra/nginx/")
 		->image($registry."fd3/nginx:".$v)
 		->addEnv_file($host_env_file)
 		->restart("always")