File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed
server/api-service/lowcoder-server/src/main/resources Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ services:
3838 LOWCODER_NODE_SERVICE_URL : " http://lowcoder-node-service:6060"
3939 LOWCODER_MAX_QUERY_TIMEOUT : 120
4040 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+ #
4147 ENCRYPTION_PASSWORD : " lowcoder.org"
4248 ENCRYPTION_SALT : " lowcoder.org"
4349 CORS_ALLOWED_DOMAINS : " *"
@@ -46,7 +52,11 @@ services:
4652 DEFAULT_ORG_GROUP_COUNT : 100
4753 DEFAULT_ORG_APP_COUNT : 1000
4854 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"
5060 restart : unless-stopped
5161 depends_on :
5262 - mongodb
Original file line number Diff line number Diff line change @@ -30,10 +30,20 @@ services:
3030 MONGODB_URL : " mongodb://localhost:27017/lowcoder?authSource=admin"
3131 REDIS_URL : " redis://localhost:6379"
3232 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+ #
3339 ENCRYPTION_PASSWORD : " lowcoder.org"
3440 ENCRYPTION_SALT : " lowcoder.org"
3541 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"
3747 # api and node service parameters
3848 LOWCODER_API_SERVICE_URL : " http://localhost:8080"
3949 LOWCODER_NODE_SERVICE_URL : " http://localhost:6060"
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ springdoc:
5757
5858auth :
5959 api-key :
60- secret : 123456789101112131415123456789101112131415123456789101112131415123456789101112131415
60+ secret : 5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b
6161 email :
6262 enable : true
6363 enable-register : true
Original file line number Diff line number Diff line change 11auth :
22 api-key :
3- secret : ${LOWCODER_API_KEY_SECRET:123456789101112131415123456789101112131415123456789101112131415123456789101112131415 }
3+ secret : ${LOWCODER_API_KEY_SECRET:5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b }
44 email :
55 enable : true
66 enable-register : ${ENABLE_USER_SIGN_UP:true}
You can’t perform that action at this time.
0 commit comments