File tree 4 files changed +24
-4
lines changed
server/api-service/lowcoder-server/src/main/resources
4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ services:
38
38
LOWCODER_NODE_SERVICE_URL : " http://lowcoder-node-service:6060"
39
39
LOWCODER_MAX_QUERY_TIMEOUT : 120
40
40
ENABLE_USER_SIGN_UP : " true"
41
+ #
42
+ # ! PLEASE CHANGE THESE TO SOMETHING UNIQUE !
43
+ #
44
+ # ENCRYPTION_PASSWORD and ENCRYPTION_SALT is used to encrypt sensitive
45
+ # data in database so it is important to change the defaults
46
+ #
41
47
ENCRYPTION_PASSWORD : " lowcoder.org"
42
48
ENCRYPTION_SALT : " lowcoder.org"
43
49
CORS_ALLOWED_DOMAINS : " *"
@@ -46,7 +52,11 @@ services:
46
52
DEFAULT_ORG_GROUP_COUNT : 100
47
53
DEFAULT_ORG_APP_COUNT : 1000
48
54
DEFAULT_DEVELOPER_COUNT : 50
49
- LOWCODER_API_KEY_SECRET : " 123456789101112131415123456789101112131415123456789101112131415123456789101112131415"
55
+ #
56
+ # API-KEY secret - should be a string of at least 32 random characters
57
+ # - on linux/mac, generate one eg. with: head /dev/urandom | head -c 30 | shasum -a 256
58
+ #
59
+ LOWCODER_API_KEY_SECRET : " 5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b"
50
60
restart : unless-stopped
51
61
depends_on :
52
62
- mongodb
Original file line number Diff line number Diff line change @@ -30,10 +30,20 @@ services:
30
30
MONGODB_URL : " mongodb://localhost:27017/lowcoder?authSource=admin"
31
31
REDIS_URL : " redis://localhost:6379"
32
32
ENABLE_USER_SIGN_UP : " true"
33
+ #
34
+ # ! PLEASE CHANGE THESE TO SOMETHING UNIQUE !
35
+ #
36
+ # ENCRYPTION_PASSWORD and ENCRYPTION_SALT is used to encrypt sensitive
37
+ # data in database so it is important to change the defaults
38
+ #
33
39
ENCRYPTION_PASSWORD : " lowcoder.org"
34
40
ENCRYPTION_SALT : " lowcoder.org"
35
41
CORS_ALLOWED_DOMAINS : " *"
36
- LOWCODER_API_KEY_SECRET : " 123456789101112131415123456789101112131415123456789101112131415123456789101112131415"
42
+ #
43
+ # API-KEY secret - should be a string of at least 32 random characters
44
+ # - on linux/mac, generate one eg. with: head /dev/urandom | head -c 30 | shasum -a 256
45
+ #
46
+ LOWCODER_API_KEY_SECRET : " 5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b"
37
47
# api and node service parameters
38
48
LOWCODER_API_SERVICE_URL : " http://localhost:8080"
39
49
LOWCODER_NODE_SERVICE_URL : " http://localhost:6060"
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ springdoc:
57
57
58
58
auth :
59
59
api-key :
60
- secret : 123456789101112131415123456789101112131415123456789101112131415123456789101112131415
60
+ secret : 5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b
61
61
email :
62
62
enable : true
63
63
enable-register : true
Original file line number Diff line number Diff line change 1
1
auth :
2
2
api-key :
3
- secret : ${LOWCODER_API_KEY_SECRET:123456789101112131415123456789101112131415123456789101112131415123456789101112131415 }
3
+ secret : ${LOWCODER_API_KEY_SECRET:5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b }
4
4
email :
5
5
enable : true
6
6
enable-register : ${ENABLE_USER_SIGN_UP:true}
You can’t perform that action at this time.
0 commit comments