##// END OF EJS Templates
build(docker-5): improve image building, added labels
build(docker-5): improve image building, added labels

File last commit:

r276:b0620a6a
r371:b484df2b
Show More
enable-ssl-on-traefik.rst
26 lines | 840 B | text/x-rst | RstLexer

Enable SSL

To Enable SSL, uncomment the traefik entrypoints labels in .custom folder docmpose overrides files.

Those files are:
  • docker-compose-apps.override.yaml
  • docker-compose-metrics.override.yaml
  • docker-compose-router.override.yaml
  • docker-compose-services.override.yaml

Search for # Enable http+https endpoints comment, and uncomment specific label. For example to enable ssl mode for RhodeCode:

service:
    rhodecode:
        labels: <-- this section was uncommented
          # Enable http+https endpoints to serve SSL, select just 1 to disable the other
          - "traefik.http.routers.rhodecode.entrypoints=http,https"

Now the service will work on both http and https, to disable plain mode leave only https entrypoint