baseURL in docker compose environment
Current Setup:
- BetterAuth client instance on Next.js
- BetterAuth server instance on Express.js
- PostgreSQL + Prisma
- Running the application with just one
command.docker compose up -d
baseURLneeds to be present at the time of building docker image.
baseURL dynamic (i.e, determined during the runtime instead of build time) or atleast somehow make it work with next.js async rewrites() ?