|
@@ -398,6 +398,17 @@ inventory=inventory.ini
|
|
|
$domain = "fd3.flowdat.com";
|
|
|
extract($config);
|
|
|
|
|
|
+ $composer->addService("base_log_worker")->image($registry."fd3/base:" . $version)
|
|
|
+ ->build("./base/")
|
|
|
+ ->command("bin/console rabbitmq:consumer log_consumer")
|
|
|
+ ->restart("always")
|
|
|
+ ->addLinks("mysql")
|
|
|
+ ->addLinks("base")
|
|
|
+ ->addLinks("amqp")
|
|
|
+ ->addLinks("nginx", "base.".$domain)
|
|
|
+ ->addVolumes("./base/", "/opt/base")
|
|
|
+ ;
|
|
|
+
|
|
|
$composer->addService("ftth_command_worker")->image($registry."fd3/ftth:" . $version)
|
|
|
->build("./ftth/")
|
|
|
->command("bin/console rabbitmq:consumer command_consumer")
|