From e98a8ba5995ffd1e728b95c1f712301ee9b7d640 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 17 Jan 2023 11:12:52 +0100 Subject: [PATCH] traefik dashbord in dev --- apps/api/src/lib/common.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index efac06f92..b15d5fcf2 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -714,8 +714,10 @@ export async function startTraefikProxy(id: string): Promise { --network coolify-infra \ -p "80:80" \ -p "443:443" \ + ${isDev ? '-p "8080:8080"' : ''} \ --name coolify-proxy \ -d ${defaultTraefikImage} \ + ${isDev ? '--api.insecure=true' : ''} \ --entrypoints.web.address=:80 \ --entrypoints.web.forwardedHeaders.insecure=true \ --entrypoints.websecure.address=:443 \