@lead-routing/cli 0.8.7 → 0.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -272,7 +272,9 @@ function renderDockerCompose(c) {
|
|
|
272
272
|
restart: unless-stopped
|
|
273
273
|
ports:
|
|
274
274
|
- "127.0.0.1:${enginePort}:3001"
|
|
275
|
-
env_file:
|
|
275
|
+
env_file:
|
|
276
|
+
- .env.engine
|
|
277
|
+
- .env.web
|
|
276
278
|
healthcheck:
|
|
277
279
|
test: ["CMD-SHELL", "wget -qO- http://$(hostname -i):3001/health || exit 1"]
|
|
278
280
|
interval: 10s
|
|
@@ -1710,7 +1712,7 @@ Click "Connect HubSpot" to authorize the integration.`,
|
|
|
1710
1712
|
const composePath = join5(dir, "docker-compose.yml");
|
|
1711
1713
|
const composeContent = readFileSync4(composePath, "utf-8");
|
|
1712
1714
|
const updated = composeContent.replace(
|
|
1713
|
-
/API_TOKEN
|
|
1715
|
+
/API_TOKEN:[^\n]*/,
|
|
1714
1716
|
`API_TOKEN: ${apiToken}`
|
|
1715
1717
|
);
|
|
1716
1718
|
writeFileSync4(composePath, updated, "utf-8");
|