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
# Constant reference in code: ENV_ENABLE_HLAMBDA_GIT_SYNC | Default value: false
126
+
# Turns on the GIT SYNC option, where the server will be able to sync metadata with remote repository. (Default: false)
127
+
ENABLE_HLAMBDA_GIT_SYNC="false"
128
+
129
+
# Constant reference in code: ENV_HLAMBDA_GIT_SYNC_URL | Default value:
130
+
# Sync repository url.
131
+
HLAMBDA_GIT_SYNC_URL=""
132
+
133
+
# Constant reference in code: ENV_HLAMBDA_GIT_SYNC_USERNAME | Default value:
134
+
# Sync repository username.
135
+
HLAMBDA_GIT_SYNC_USERNAME=""
136
+
137
+
# Constant reference in code: ENV_HLAMBDA_GIT_SYNC_PASSWORD | Default value:
138
+
# Sync repository password.
139
+
HLAMBDA_GIT_SYNC_PASSWORD=""
140
+
141
+
# Constant reference in code: ENV_HLAMBDA_GIT_SYNC_BRANCH | Default value: master
142
+
# Sync default branch. (Default: master) If falsey value, the current HEAD branch will be used.
143
+
HLAMBDA_GIT_SYNC_BRANCH="master"
144
+
145
+
# Constant reference in code: ENV_HLAMBDA_GIT_SYNC_INTERVAL_SECONDS | Default value: 240
146
+
# When sync is enabled, system will automatically try to sync with the current branch, it will work only if there is no conflicts, to not destroy live work. (Default: 240 (4m). If set to 0, disables pooling)
147
+
HLAMBDA_GIT_SYNC_INTERVAL_SECONDS="240"
148
+
125
149
# Constant reference in code: ENV_HLAMBDA_CONFIGURATION_LOADER_PREFIX | Default value: hlambda-config.yaml
126
150
# Sets the value for the name of the configuration file that will be loaded.
I've recently created Patreon that will enable me to work more on the Hlambda services.
83
+
I've recently created Patreon which will enable me to work more on the Hlambda services.
82
84
83
85
<spanclass="badge-patreon"><ahref="https://www.patreon.com/bePatron?u=70751523"title="Donate to this project using Patreon"><imgsrc="https://img.shields.io/badge/patreon-donate-green.svg"alt="Patreon donate button" /></a></span>
86
+
87
+
You can also sponsor the developers directly through the GitHub Sponsors program.
Copy file name to clipboardExpand all lines: src/constants/index.js
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,40 @@ export const constants = {
195
195
description: 'Expires in value in seconds, time before JWT token expires and cookie is deleted on the client.',
196
196
},
197
197
198
+
// GitOps
199
+
ENV_ENABLE_HLAMBDA_GIT_SYNC: {
200
+
name: 'ENABLE_HLAMBDA_GIT_SYNC',
201
+
default: 'false',
202
+
description:
203
+
'Turns on the GIT SYNC option, where the server will be able to sync metadata with remote repository. (Default: false)',
204
+
},
205
+
ENV_HLAMBDA_GIT_SYNC_URL: {
206
+
name: 'HLAMBDA_GIT_SYNC_URL',
207
+
default: '',
208
+
description: 'Sync repository url.',
209
+
},
210
+
ENV_HLAMBDA_GIT_SYNC_USERNAME: {
211
+
name: 'HLAMBDA_GIT_SYNC_USERNAME',
212
+
default: '',
213
+
description: 'Sync repository username.',
214
+
},
215
+
ENV_HLAMBDA_GIT_SYNC_PASSWORD: {
216
+
name: 'HLAMBDA_GIT_SYNC_PASSWORD',
217
+
default: '',
218
+
description: 'Sync repository password.',
219
+
},
220
+
ENV_HLAMBDA_GIT_SYNC_BRANCH: {
221
+
name: 'HLAMBDA_GIT_SYNC_BRANCH',
222
+
default: 'master',
223
+
description: 'Sync default branch. (Default: master) If falsey value, the current HEAD branch will be used.',
224
+
},
225
+
ENV_HLAMBDA_GIT_SYNC_INTERVAL_SECONDS: {
226
+
name: 'HLAMBDA_GIT_SYNC_INTERVAL_SECONDS',
227
+
default: '240',
228
+
description:
229
+
'When sync is enabled, system will automatically try to sync with the current branch, it will work only if there is no conflicts, to not destroy live work. (Default: 240 (4m). If set to 0, disables pooling)',
0 commit comments