Show More
@@ -0,0 +1,23 b'' | |||||
|
1 | .. _custom-traefik-ports: | |||
|
2 | ||||
|
3 | ============================= | |||
|
4 | Change traefik defaults ports | |||
|
5 | ============================= | |||
|
6 | ||||
|
7 | ||||
|
8 | In rcstack the router component by default listens on ports 443 and 80. Those could be already taken in your | |||
|
9 | current setup. To change those ports edit the :file:`docker-compose-router.override.yaml` and edit the ports section | |||
|
10 | In the example below, we changed port 80 to 8000 and 443 to 8443 | |||
|
11 | ||||
|
12 | .. code-block:: yaml | |||
|
13 | ||||
|
14 | services: | |||
|
15 | ||||
|
16 | traefik: | |||
|
17 | # NOTE: the '!override' replaces the original values defined, avail on docker-compose 2.24.2+ | |||
|
18 | # don't use it if your compose doesn't allow this syntax | |||
|
19 | ports: !override | |||
|
20 | # The HTTP port, exposed as http entrypoint | |||
|
21 | - "8000:80" | |||
|
22 | # The HTTPS port, exposed as https entrypoint | |||
|
23 | - "8443:443" |
@@ -53,6 +53,7 b' handles all incoming/outgoing traffic to the stack' | |||||
53 | - 9022 (SSH for RhodeCode traffic) |
|
53 | - 9022 (SSH for RhodeCode traffic) | |
54 | - 3100 (Loki log aggregation) |
|
54 | - 3100 (Loki log aggregation) | |
55 |
|
55 | |||
|
56 | See :ref:`custom-traefik-ports` to change the defaults ports if those are already taken | |||
56 |
|
57 | |||
57 | **Services (mandatory to run):** |
|
58 | **Services (mandatory to run):** | |
58 |
|
59 | |||
@@ -147,9 +148,10 b' There are two requirements for OS to be able to run whole rcstack.' | |||||
147 | configuration/scaling-rhodecode.rst |
|
148 | configuration/scaling-rhodecode.rst | |
148 | configuration/enable-ssl-on-traefik.rst |
|
149 | configuration/enable-ssl-on-traefik.rst | |
149 | configuration/ssl-certificates.rst |
|
150 | configuration/ssl-certificates.rst | |
150 |
configuration/ |
|
151 | configuration/custom-traefik-ports.rst | |
151 | configuration/set-license-file.rst |
|
152 | configuration/set-license-file.rst | |
152 | configuration/set-specific-install-version.rst |
|
153 | configuration/set-specific-install-version.rst | |
|
154 | configuration/data-volumes.rst | |||
153 |
|
155 | |||
154 | .. toctree:: |
|
156 | .. toctree:: | |
155 | :maxdepth: 1 |
|
157 | :maxdepth: 1 |
General Comments 0
You need to be logged in to leave comments.
Login now