Show More
@@ -0,0 +1,28 b'' | |||||
|
1 | ||||
|
2 | ============================ | |||
|
3 | Set Specific Install Version | |||
|
4 | ============================ | |||
|
5 | ||||
|
6 | By default rcstack uses a defined version stored under :file:`.custom/.runtime.env` | |||
|
7 | ||||
|
8 | Check current version by running this command: | |||
|
9 | ||||
|
10 | .. code-block:: bash | |||
|
11 | ||||
|
12 | ./rcstack cli image-info --verbose | |||
|
13 | Image stored version: 4.28.0 | |||
|
14 | Image from runtime: beta | |||
|
15 | runtime-file=/home/rhodecode-docker/.custom/.runtime.env | |||
|
16 | RC_VERSION=beta | |||
|
17 | ||||
|
18 | ||||
|
19 | When self-update is executed the downloaded stored version gets updated. In case a downgrade, or specific | |||
|
20 | version installation is required you can manually set a update version. | |||
|
21 | ||||
|
22 | ||||
|
23 | .. code-block:: bash | |||
|
24 | ||||
|
25 | ./rcstack cli set-runtime-image 5.1.0 | |||
|
26 | ||||
|
27 | This will set the runtime version to 5.1.0. Other options can be used that corresponds to the docker release tags. | |||
|
28 | e.g `beta` or `edge` to always run on the latest images |
@@ -1,12 +1,12 b'' | |||||
1 | # RhodeCode Cluster |
|
1 | # Welcome to RhodeCode rcstack documentation! | |
2 |
|
2 | |||
3 |
RhodeCode |
|
3 | RhodeCode rcstack is a multi-node highly-scalable setup to run RhodeCode services. | |
4 | It consists of Edge Router(Traefik with optional SSL) and Metrics Stack (Prometheus, Loki, Grafana) and |
|
4 | It consists of all RhodeCode services required with additionally | |
5 | all its additional components in single environment using Docker. |
|
5 | Edge Router(Traefik with optional SSL) and Metrics Stack (Prometheus, Loki, Grafana) in single environment using Docker. | |
6 |
|
6 | |||
7 | Using a docker-compose this setup creates following services for RhodeCode: |
|
7 | Using a docker-compose this setup creates following services for RhodeCode: | |
8 |
|
8 | |||
9 |
|
|
9 | Router (mandatory to run): | |
10 |
|
10 | |||
11 | - Traefik, Edge Router, SSL termination etc. |
|
11 | - Traefik, Edge Router, SSL termination etc. | |
12 | Traefik listens to few defaults ports and handles all incomming/outgoing traffic to the stack |
|
12 | Traefik listens to few defaults ports and handles all incomming/outgoing traffic to the stack | |
@@ -38,7 +38,7 b' Metrics' | |||||
38 | - Node-exporter - machine stats and usage |
|
38 | - Node-exporter - machine stats and usage | |
39 | - Promtail - log scraping |
|
39 | - Promtail - log scraping | |
40 |
|
40 | |||
41 | ##rcstack for Linux, docker based installer |
|
41 | ## rcstack for Linux, docker based installer | |
42 |
|
42 | |||
43 | To get started with RhodeCode get the new shell installer called rcstack |
|
43 | To get started with RhodeCode get the new shell installer called rcstack | |
44 |
|
44 |
@@ -34,3 +34,22 b" html_static_path = ['_static']" | |||||
34 | html_last_updated_fmt = ' %H:%m %b %d, %Y' |
|
34 | html_last_updated_fmt = ' %H:%m %b %d, %Y' | |
35 | html_show_sphinx = False |
|
35 | html_show_sphinx = False | |
36 | html_extra_path = ['extra'] |
|
36 | html_extra_path = ['extra'] | |
|
37 | ||||
|
38 | ||||
|
39 | rst_epilog = ''' | |||
|
40 | .. |RCCEshort| replace:: Community | |||
|
41 | .. |RCEEshort| replace:: Enterprise | |||
|
42 | .. |git| replace:: Git | |||
|
43 | .. |hg| replace:: Mercurial | |||
|
44 | .. |svn| replace:: Subversion | |||
|
45 | ||||
|
46 | .. |RCC| replace:: RhodeCode Control | |||
|
47 | .. |RCE| replace:: RhodeCode Enterprise | |||
|
48 | .. |RCCE| replace:: RhodeCode Community | |||
|
49 | .. |RCEE| replace:: RhodeCode Enterprise | |||
|
50 | .. |RCT| replace:: RhodeCode Tools | |||
|
51 | ||||
|
52 | .. |RCEBOLD| replace:: **RhodeCode Enterprise** | |||
|
53 | .. |RCEITALICS| replace:: `RhodeCode Enterprise` | |||
|
54 | ||||
|
55 | ''' |
@@ -96,6 +96,7 b' handles all incoming/outgoing traffic to the stack' | |||||
96 | configuration/enable-ssl-on-traefik.rst |
|
96 | configuration/enable-ssl-on-traefik.rst | |
97 | configuration/data-volumes.rst |
|
97 | configuration/data-volumes.rst | |
98 | configuration/set-license-file.rst |
|
98 | configuration/set-license-file.rst | |
|
99 | configuration/set-specific-install-version.rst | |||
99 |
|
100 | |||
100 |
|
101 | |||
101 | .. toctree:: |
|
102 | .. toctree:: |
@@ -67,6 +67,14 b' Adjust rhodecode.ini to point your docker rhodecode to old DB' | |||||
67 | If docker-based DB is selected |
|
67 | If docker-based DB is selected | |
68 | Restore the database into docker container running DB |
|
68 | Restore the database into docker container running DB | |
69 |
|
69 | |||
|
70 | ||||
|
71 | 6. move data into docker storage | |||
|
72 | ++++++++++++++++++++++++++++++++ | |||
|
73 | ||||
|
74 | Step one is to move the required componenst to the :file:`.custom/storage` directory inside the docker | |||
|
75 | compose stack. This directory is mounted later on so data can be copied over into docker storage engine volumes. | |||
|
76 | ||||
|
77 | ||||
70 | .. code-block:: |
|
78 | .. code-block:: | |
71 |
|
79 | |||
72 | #. mv repositories data to .custom/storage |
|
80 | #. mv repositories data to .custom/storage | |
@@ -78,6 +86,12 b' Restore the database into docker container running DB' | |||||
78 | #. mv artifacts data to .custom/storage |
|
86 | #. mv artifacts data to .custom/storage | |
79 | +++++ |
|
87 | +++++ | |
80 |
|
88 | |||
|
89 | ||||
|
90 | Once that is done. | |||
|
91 | ||||
|
92 | .. code-block:: | |||
|
93 | ||||
|
94 | ||||
81 | #. mv tarball cache data to .custom/storage |
|
95 | #. mv tarball cache data to .custom/storage | |
82 | +++++ |
|
96 | +++++ | |
83 |
|
97 | |||
@@ -93,8 +107,4 b' Restore the database into docker container running DB' | |||||
93 | #. move tarballcache data to /vol/datavolume |
|
107 | #. move tarballcache data to /vol/datavolume | |
94 | +++++ |
|
108 | +++++ | |
95 |
|
109 | |||
96 | #. cp rhodecode.ini to config/_shared/rhodecode.ini |
|
|||
97 | +++++ |
|
|||
98 |
|
110 | |||
99 | #. cp vcsserver.ini to config/_shared/vcsserver.ini |
|
|||
100 | +++++ |
|
General Comments 0
You need to be logged in to leave comments.
Login now