|
@@ -345,9 +345,16 @@ $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")
|
|
|
;
|