Skip to content

Use hostname-based routing instead of ports for different services#156

Open
mikesir87 wants to merge 1 commit intomainfrom
add-traefik
Open

Use hostname-based routing instead of ports for different services#156
mikesir87 wants to merge 1 commit intomainfrom
add-traefik

Conversation

@mikesir87
Copy link
Copy Markdown
Member

@mikesir87 mikesir87 commented Jan 15, 2026

What does this PR do?

  • Add Traefik to the stack to support hostname-based routing on 3030
  • Move VS Code to be available at vscode.localhost
  • In development, set marlin.localhost to go to marlin mock
  • Add a ConfigContext to the client that fetches the config and provides it to the rest of the react app

Why?

This PR is intended to make the user experience a little bit easier, especially in development when there are quite a few different services all exposed on different ports. This also eliminates one step in the case we want to run a labspace in another environment where we want different names/URLs for each of the services.

Notably, this PR is continuing the use of port 3030, since it's well documented in various labspace readmes, the extension, etc. And since it isn't a reserved port, all good!

- Add Traefik to the stack to support hostname-based routing on 3030
- Move VS Code to be available at vscode.localhost
- In development, set marlin.localhost to go to marlin mock
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