Browse Source

FD3-287 docker redis

Guillermo Espinoza 7 years ago
parent
commit
1fa92dcb25
1 changed files with 7 additions and 0 deletions
  1. 7 0
      tools/src/Release.php

+ 7 - 0
tools/src/Release.php

@@ -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")
 	;