Skip to content

Making Nuclio UI available when hosting CVAT #8817

@marmal88

Description

@marmal88

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation should be updatedenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions