custom-traefik-ports.rst
23 lines
| 810 B
| text/x-rst
|
RstLexer
Change traefik defaults ports
In rcstack the router component by default listens on ports 443 and 80. Those could be already taken in your current setup. To change those ports edit the :file:`docker-compose-router.override.yaml` and edit the ports section In the example below, we changed port 80 to 8000 and 443 to 8443
services: traefik: # NOTE: the '!override' replaces the original values defined, avail on docker-compose 2.24.2+ # don't use it if your compose doesn't allow this syntax ports: !override # The HTTP port, exposed as http entrypoint - "8000:80" # The HTTPS port, exposed as https entrypoint - "8443:443"