Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making Nuclio UI available when hosting CVAT #8817

Open
2 tasks done
marmal88 opened this issue Dec 12, 2024 · 0 comments
Open
2 tasks done

Making Nuclio UI available when hosting CVAT #8817

marmal88 opened this issue Dec 12, 2024 · 0 comments
Labels
documentation Documentation should be updated enhancement New feature or request

Comments

@marmal88
Copy link

marmal88 commented Dec 12, 2024

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Is your feature request related to a problem? Please describe.

I would like to make the nuclio ui available when using cvat.

Describe the solution you'd like

Making the nuclio platform ui available on the url myurl/nuclio/ endpoint when hosting cvat with a tls cert

Describe alternatives you've considered

I have looked at the documentation for both apis and have set rules to deconflict them, I have also tested the following labels on docker compose.
With the below settings, I can access the cvat ui and nuclio ui via localhost:8080 and localhost:8080/nuclio/ respectively. The trouble is when i use a ssl/tls cert the redirect does not happen. I am quite new to traefik and I wonder if i made a mistake somewhere?

labels:
- traefik.enable=true
- traefik.http.routers.nuclio.service=nuclio
- traefik.http.services.nuclio.loadbalancer.server.port=8070
- traefik.http.routers.nuclio.rule=Host(`${CVAT_HOST:-localhost}`) && (
    PathPrefix(`/api/namespaces`) ||
    PathPrefix(`/api/frontend_spec`) ||
    PathPrefix(`/api/versions`) ||
    (PathPrefix(`/api/projects`) && HeadersRegexp(`x-nuclio-project-namespace`, ".+")) ||
    PathPrefix(`/api/functions`) ||
    PathPrefix(`/api/function_events`) ||
    PathPrefix(`/api/function_templates`) ||
    PathPrefix(`/assets/i18n`) ||
    PathPrefix(`/dashboard-config.json`) ||
    PathPrefix(`/nuclio/`)
)

When i access via unsecured http i add the following router:

- traefik.http.routers.nuclio.entrypoints=web

When accessing via the secured route i add the websecure. however this does not seem to redirect me.

- traefik.http.routers.nuclio.entrypoints=websecure
- traefik.http.routers.dashboard.tls=true

Additional context

No response

@marmal88 marmal88 added the enhancement New feature or request label Dec 12, 2024
@azhavoro azhavoro added the documentation Documentation should be updated label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation should be updated enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants