feat(deploy): enable single-domain routing for one click deployment#1
Conversation
|
Have you tried editing in the studio and publishing in /apps? |
|
Hey Klaus, I tested the flow locally (editing in Studio, publishing, and opening the app under I’ve been debugging the Traefik routing locally and found that the path routers need a few additional adjustments (entrypoints and priorities) for I’m validating the fix locally and will push an update to the PR shortly. |
|
Hey Klaus, quick update on the test. I verified the publish flow locally (Studio → publish → open under • The “debug id is wrong” message I saw in the browser appears to come from the frontend route parsing when loading the published app, not from the routing itself. If there are any additional scenarios you’d like me to test, please let me know. |
Summary
This PR enables single-domain deployment for Flowrabbit (one-click platform friendly) by switching default routing to path-based rules, while preserving optional legacy host-based compatibility
through an override compose file.
Problem
The previous setup depended on multiple subdomains (
api.*,studio.*,proxy.*,apps.*,docs.*) and host-based Traefik routing, which makes one-click deployments difficult.What Changed
docker-compose.yamlto single-domain path routing:/-> studio/apps-> apps/docs-> docsFLR_PUBLIC_URL-based URL composition.docker-compose.local.yamlfor localhost override.docker-compose.legacy-hosts.yamlfor optional host-based compatibility mode..env.exampleand required env-based secrets in compose.Validation
docker compose configpasses for:http://localhost/-> 200http://localhost/api/rest/status.json-> 200http://localhost/docs/status.json-> 200http://localhost/apps-> 200Compatibility / Notes
docker compose -f docker-compose.yaml -f docker-compose.legacy-hosts.yaml up -d