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

Enable HTTPS use Custom Certificates #7508

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

echowxsy
Copy link

Motivation and context

fix #4767
my docker-compose.https.yml:

# Copyright (C) 2018-2022 Intel Corporation
#
# SPDX-License-Identifier: MIT

services:
  cvat_server:
    labels:
      - traefik.http.routers.cvat.tls=true
      - traefik.http.routers.cvat.entrypoints=websecure

  cvat_ui:
    labels:
      - traefik.http.routers.cvat-ui.tls=true
      - traefik.http.routers.cvat-ui.entrypoints=websecure

  traefik:
    image: traefik:v2.10
    container_name: traefik
    environment:
      TRAEFIK_ENTRYPOINTS_web_ADDRESS: :80
      TRAEFIK_ENTRYPOINTS_web_HTTP_REDIRECTIONS_ENTRYPOINT_TO: websecure
      TRAEFIK_ENTRYPOINTS_web_HTTP_REDIRECTIONS_ENTRYPOINT_SCHEME: https
      TRAEFIK_ENTRYPOINTS_websecure_ADDRESS: :443
      TRAEFIK_LOG: "true"
      TRAEFIK_ACCESSLOG: "true"
    ports:
      - 80:80
      - 443:443
    volumes:
      - ./tls.yml:/etc/traefik/rules/tls.yml
      - ./certs:/certs

Login page:
image
Traefik Dashboard:
image

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

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.

Using CVAT with https and institutional certificate
1 participant