You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only required package is **Docker**. The production server runs the latest stable version of Helios (``main`` branch), while the staging server runs the latest development version (``staging`` branch).
15
+
14
16
Both environments use the same Compose file:
15
17
16
18
- ``compose.prod.yml`` is used for both production and staging deployments.
@@ -68,14 +70,224 @@ File Descriptions
68
70
The PEM file for the GitHub App.
69
71
70
72
- Used as credentials when making API requests to GitHub.
71
-
- This file is generated by following the **Generate the Private Key** step in the `Creating a GitHub App <../local/setup.html#creating-a-github-app>`_.
73
+
- This file is generated by following the **Generate the Private Key** step in the `Creating a GitHub App <../../contributor/setup#creating-a-github-app:~:text=Generate%20the%20Private%20Key>`_.
72
74
73
75
- ``helios-realm.json``
74
76
An exported Keycloak realm configuration.
75
77
76
78
- Instead of wiping the database, we export/import Keycloak settings via this file.
77
79
- It contains client IDs, client secrets, login page settings, token exchange rules, etc.
78
80
81
+
82
+
Environment Variables
83
+
------------------------
84
+
85
+
The ``.env`` file in ``/opt/helios`` contains all environment variables for production/staging deployments. GitHub Actions fills this file during deployment.
86
+
87
+
Below is the complete list of variables, their purpose, and where they are used.
Comma-separated list of repositories to sync. This value can be empty since all the repositories which install the GitHub App will be synced automatically.
156
+
*Used by:* ``application-server``.
157
+
158
+
- ``ORGANIZATION_NAME``
159
+
GitHub organization name for auto-detection of installation ID.
160
+
*Used by:* ``application-server``.
161
+
*Note:* Set this value and leave ``GITHUB_INSTALLATION_ID`` empty for auto-detection of the GitHub App installation ID.
162
+
163
+
- ``GITHUB_AUTH_TOKEN``
164
+
GitHub Personal Access Token (if not using GitHub App, we are right now using the GitHub App, so leave this empty).
165
+
*Used by:* ``application-server``.
166
+
167
+
- ``RUN_ON_STARTUP_COOLDOWN``
168
+
Minimum minutes since last sync to run sync on startup.
169
+
*Used by:* ``application-server``.
170
+
171
+
- ``SENTRY_DSN``
172
+
Sentry DSN for error reporting.
173
+
*Used by:* ``application-server``.
174
+
175
+
- ``DATA_SYNC_RUN_ON_STARTUP``
176
+
Whether to run repository sync on startup. Deploying a new version takes couple of minutes, setting this value to ``false``is safe since syncing takes quite some time and we do not want to run it on every deployment.
177
+
*Used by:* ``application-server``.
178
+
179
+
- ``GITHUB_APP_NAME``
180
+
GitHub App URL-safe name.
181
+
*Used by:* ``application-server``.
182
+
183
+
- ``GITHUB_APP_ID``
184
+
Numeric ID of GitHub App.
185
+
*Used by:* ``application-server``.
186
+
187
+
- ``GITHUB_CLIENT_ID``
188
+
OAuth Client ID for GitHub App.
189
+
*Used by:* ``application-server``.
190
+
191
+
- ``GITHUB_INSTALLATION_ID``
192
+
GitHub App installation ID. Empty if auto-detecting.
Copy file name to clipboardExpand all lines: docs/admin/troubleshooting.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Updating SSL/TLS Certificates
51
51
52
52
Once Nginx is running on the ``helios-network``, it will proxy traffic to the Helios services defined in Docker Compose.
53
53
54
-
We are using SSL/TLS certificates are provided by the TUM IT department and are valid for 1 year. These certificates are automatically renewed by ITG and exposed via symlinks under ``/var/lib/rbg-cert/live/``. Nginx is configured to use these paths directly in both staging and production environments. For more details and the relevant ``nginx.conf`` certificate paths, refer to the `Production Setup Guide -> Additional Containers -> nginx <setup.html#additional-containers>`_.
54
+
We are using SSL/TLS certificates are provided by the TUM IT department and are valid for 1 year. These certificates are automatically renewed by ITG and exposed via symlinks under ``/var/lib/rbg-cert/live/``. Nginx is configured to use these paths directly in both staging and production environments. For more details and the relevant ``nginx.conf`` certificate paths, refer to the `Production Setup Guide -> Additional Containers -> nginx <../setup#additional-containers>`_.
0 commit comments