We have a client who wants to self-host both the WeWeb Frontend and the Supabase Backend, along with some additional services (not relevant to this question). The project is fully set up and functional. However, the client’s desired scenario is to package everything into a docker-compose
setup that includes the frontend and the Supabase instance, and then deploy it on their server.
Here’s the challenge: Is it possible to configure variables (such as the Supabase Base URL and other base URLs) so they can be set dynamically using an .env
file?
From what I can see, this seems difficult with the pre-built WeWeb project files. However, would it be feasible to achieve this by working directly with the raw project files and building them afterwards? If so, what would be the best approach?