From 44b8812a7ba641f7c1980171c7714f6b4385160f Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 21 Feb 2023 13:08:14 +0100 Subject: [PATCH] debug --- apps/api/src/lib/services/handlers.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/api/src/lib/services/handlers.ts b/apps/api/src/lib/services/handlers.ts index 7f0d4505e..48a5dd85a 100644 --- a/apps/api/src/lib/services/handlers.ts +++ b/apps/api/src/lib/services/handlers.ts @@ -81,9 +81,9 @@ export async function startService(request: FastifyRequest, fa if (!arm && template.services[s]?.volumes?.length > 0) { template.services[s].volumes.forEach(v => volumes.add(v)) } - // Workaround: old plausible analytics service wrong volume id name if (service.type === 'plausibleanalytics' && service.plausibleAnalytics?.id) { + console.log('old plausible analytics service') let temp = Array.from(volumes) temp.forEach(a => { const t = a.replace(service.id, service.plausibleAnalytics.id) @@ -100,6 +100,7 @@ export async function startService(request: FastifyRequest, fa } } } + console.log(s, Array.from(volumes)) let ports = [] if (template.services[s].proxy?.length > 0) { for (const proxy of template.services[s].proxy) {