WIP: implementing windmill container changes

Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/6f198732-63c3-41b7-8b2e-1b5fa565ee21

Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-27 01:58:39 +00:00
committed by GitHub
parent 8727df147d
commit 4b27d6954f
8 changed files with 116 additions and 5 deletions

View File

@@ -60,6 +60,16 @@ if [ -z "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
fi
echo "$CADDYFILE" > /tmp/Caddyfile
# Add windmill site if windmill is enabled
if [ "$WINDMILL_ENABLED" = "yes" ]; then
cat >> /tmp/Caddyfile << 'WINDMILL_EOF'
https://{$NC_DOMAIN}:3100 {
reverse_proxy {$WINDMILL_HOST}:8000
}
WINDMILL_EOF
fi
# Fix the Caddyfile format
caddy fmt --overwrite /tmp/Caddyfile