Skip to content

Use port 11006 in examples#9

Merged
david-randoll merged 2 commits into
mainfrom
example-demo-port-changes
Apr 2, 2026
Merged

Use port 11006 in examples#9
david-randoll merged 2 commits into
mainfrom
example-demo-port-changes

Conversation

@david-randoll

Copy link
Copy Markdown
Owner

Update example backend port from 8085 to 11006 across the project and adjust frontend accordingly. Changes include backend Dockerfile and application.yml, docker-compose port mapping, frontend API base URL and request preview display, and update the frontend index title to "Spring Web Captor" to reflect the application name.

Update example backend port from 8085 to 11006 across the project and adjust frontend accordingly. Changes include backend Dockerfile and application.yml, docker-compose port mapping, frontend API base URL and request preview display, and update the frontend index title to "Spring Web Captor" to reflect the application name.
Expose and map the frontend on port 11007 and allow the backend URL to be injected via VITE_BACKEND_URL. Updated docker-compose to pass a build arg and map 11007, updated the frontend Dockerfile to accept ARG/ENV and change the static server port, and updated the frontend code (client.ts and RequestPreview.tsx) to read import.meta.env.VITE_BACKEND_URL with a fallback to http://localhost:11006. This makes the backend endpoint configurable at build/runtime and keeps the container port mapping consistent.
@david-randoll david-randoll merged commit 9c3c5fb into main Apr 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant