|
@@ -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,12 @@ $oauth_client_secret = "5w7gx6ptdoo4g8cwwo88o8gowosgco84sso08ssow0osg88g8k";
|
|
|
->addVolumes("./mongodb", "/data/db")
|
|
|
;
|
|
|
|
|
|
+ $composer->addService("genieacs")
|
|
|
+ ->image("thebinary/genieacs:latest")
|
|
|
+ ->addLinks("mongodb")
|
|
|
+ ->addPorts("7777", "7777")
|
|
|
+ ->restart("always")
|
|
|
+ ;
|
|
|
|
|
|
$composer->addService("statsd")->build("./extra/statsd/statsd")
|
|
|
->image($registry."fd3/statsd:$v")
|
|
@@ -364,10 +370,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")
|