Skip to content

Commit 07b1484

Browse files
committed
fix: add COMMON_WORKSPACE_MODE setting to docker-compose files and helm chart
1 parent a35a815 commit 07b1484

File tree

6 files changed

+6
-108
lines changed

6 files changed

+6
-108
lines changed

‎deploy/docker/docker-compose-multi.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ services:
5757
# - on linux/mac, generate one eg. with: head /dev/urandom | head -c 30 | shasum -a 256
5858
#
5959
LOWCODER_API_KEY_SECRET: "5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b"
60+
COMMON_WORKSPACE_MODE: SAAS
6061
restart: unless-stopped
6162
depends_on:
6263
- mongodb

‎deploy/docker/docker-compose.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ services:
5050
# frontend parameters
5151
LOWCODER_MAX_REQUEST_SIZE: 20m
5252
LOWCODER_MAX_QUERY_TIMEOUT: 120
53+
COMMON_WORKSPACE_MODE: SAAS
5354
volumes:
5455
- ./lowcoder-stacks:/lowcoder-stacks
5556
- ./lowcoder-stacks/assets:/lowcoder/assets

‎deploy/helm/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ $ helm delete -n lowcoder my-lowcoder
4242

4343
| Name | Description | Value |
4444
| --------------------------------------- | --------------------------------------------------------------------------------- | -------------- |
45+
| `global.config.workspaceMode` | Sets the workspace mode. Possible types are: SAAS, ENTERPRISE | `SAAS` |
4546
| `global.config.userId` | User ID of user running Lowcoder server application in container | `9001` |
4647
| `global.config.groupId` | Group ID of user running Lowcoder server application in container | `9001` |
4748
| `global.config.corsAllowedDomains` | CORS allowed domains | `*` |

‎deploy/helm/templates/api-service/configMap.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ data:
3232
DEFAULT_ORG_GROUP_COUNT: {{ .Values.global.defaults.maxGroupsPerOrg | default "100" | quote }}
3333
DEFAULT_ORG_APP_COUNT: {{ .Values.global.defaults.maxAppsPerOrg | default "1000" | quote }}
3434
DEFAULT_DEVELOPER_COUNT: {{ .Values.global.defaults.maxDevelopers | default "50" | quote }}
35-
35+
COMMON_WORKSPACE_MODE: {{ .Values.global.config.workspaceMode | default "SAAS" | quote }}

‎deploy/helm/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ fullnameOverride: ""
1111
#
1212
global:
1313
config:
14+
# This setting sets workspace mode. Possible values: SAAS, ENTERPRISE
15+
workspaceMode: SAAS
1416
# ID of user and group runnning the service within the container
1517
userId: 9001
1618
groupId: 9001

‎yarn-error.log

-107
This file was deleted.

0 commit comments

Comments
 (0)