feat(web): configure server URL at runtime #9

Merged
faceguy merged 3 commits from move-to-one-server-url-env into main 2026-08-04 18:57:13 +00:00
Owner

The web app previously embedded NEXT_PUBLIC_SERVER_URL during its build, preventing a deployed image from using a runtime API origin.

Replace the build-time public variable with required server-side SERVER_URL, create server and browser auth/oRPC clients from that value, and pass it through the root client provider. Update Docker, Forgejo build configuration, Turborepo inputs, and setup documentation accordingly.

The web app previously embedded `NEXT_PUBLIC_SERVER_URL` during its build, preventing a deployed image from using a runtime API origin. Replace the build-time public variable with required server-side `SERVER_URL`, create server and browser auth/oRPC clients from that value, and pass it through the root client provider. Update Docker, Forgejo build configuration, Turborepo inputs, and setup documentation accordingly.
feat(web): add server url runtime configuration
Some checks failed
Server CI / lint-and-build (pull_request) Successful in 45s
Web CI / lint-and-build (pull_request) Successful in 1m18s
Web CI / build-and-publish (pull_request) Failing after 19s
Server CI / build-and-publish (pull_request) Successful in 4m59s
6715ae10c1
fix(ci/web): remove empty new-line
Some checks failed
Server CI / lint-and-build (pull_request) Successful in 1m34s
Web CI / lint-and-build (pull_request) Successful in 3m8s
Server CI / build-and-publish (pull_request) Has been cancelled
Web CI / build-and-publish (pull_request) Has been cancelled
0612c44791
faceguy force-pushed move-to-one-server-url-env from 0612c44791
Some checks failed
Server CI / lint-and-build (pull_request) Successful in 1m34s
Web CI / lint-and-build (pull_request) Successful in 3m8s
Server CI / build-and-publish (pull_request) Has been cancelled
Web CI / build-and-publish (pull_request) Has been cancelled
to 4ec0fdf058
Some checks failed
Server CI / lint-and-build (pull_request) Successful in 1m51s
Web CI / lint-and-build (pull_request) Failing after 1m35s
Web CI / build-and-publish (pull_request) Has been skipped
Server CI / build-and-publish (pull_request) Successful in 4m2s
2026-08-04 18:38:51 +00:00
Compare
fix(web): use configured orpc client for search
All checks were successful
Server CI / lint-and-build (pull_request) Successful in 58s
Web CI / lint-and-build (pull_request) Successful in 1m15s
Server CI / build-and-publish (pull_request) Successful in 2m8s
Web CI / build-and-publish (pull_request) Successful in 2m9s
5c2a01c87b
faceguy deleted branch move-to-one-server-url-env 2026-08-04 18:57:13 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
faceguy/mosaic!9
No description provided.