Start collaboration service if not otherwise specified

This commit is contained in:
Tom Moor
2021-11-04 19:39:41 -07:00
parent eb9ff990ac
commit 6df8e9e13f

View File

@@ -26,7 +26,11 @@ const normalizedServiceFlag = getArg("services");
// The default is to run all services to make development and OSS installations // The default is to run all services to make development and OSS installations
// easier to deal with. Separate services are only needed at scale. // easier to deal with. Separate services are only needed at scale.
const serviceNames = uniq( const serviceNames = uniq(
(normalizedServiceFlag || env.SERVICES || "websockets,worker,web") (
normalizedServiceFlag ||
env.SERVICES ||
"collaboration,websockets,worker,web"
)
.split(",") .split(",")
.map((service) => service.trim()) .map((service) => service.trim())
); );