From 46219e1b3d1cac3cd410f5adb44d047655d8561f Mon Sep 17 00:00:00 2001 From: DrMxrcy Date: Wed, 13 Nov 2024 02:52:22 -0500 Subject: [PATCH] fix: Caddyfile for Windmill --- apps/dokploy/templates/windmill/docker-compose.yml | 2 +- apps/dokploy/templates/windmill/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/templates/windmill/docker-compose.yml b/apps/dokploy/templates/windmill/docker-compose.yml index de4e61cb..0dd286fe 100644 --- a/apps/dokploy/templates/windmill/docker-compose.yml +++ b/apps/dokploy/templates/windmill/docker-compose.yml @@ -93,7 +93,7 @@ services: networks: - dokploy-network volumes: - - ./Caddyfile:/etc/caddy/Caddyfile + - ../files/config:/etc/caddy environment: - BASE_URL=":80" depends_on: diff --git a/apps/dokploy/templates/windmill/index.ts b/apps/dokploy/templates/windmill/index.ts index 7608476b..75f7e3f9 100644 --- a/apps/dokploy/templates/windmill/index.ts +++ b/apps/dokploy/templates/windmill/index.ts @@ -26,7 +26,7 @@ export function generate(schema: Schema): Template { const mounts: Template["mounts"] = [ { - filePath: "./Caddyfile", + filePath: "files/config/Caddyfile", content: `{$BASE_URL} { bind {$ADDRESS} reverse_proxy /ws/* http://lsp:3001