Skip to content

Commit e6785ce

Browse files
authored
Merge pull request lowcoder-org#152 from jerry-goodman/develop
pr_1226
2 parents e05e603 + 2c2b1c8 commit e6785ce

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ If you have any questions, please feel free to contact us or share with our comm
6060
## 💻 Deployment Options
6161
You can access Openblocks from [cloud-hosted version](https://cloud.openblocks.dev/) at any time, or use the following resources for deploying Openblocks on different platforms:
6262
- [Docker](https://docs.openblocks.dev/self-hosting)
63+
- [AWS AMI](https://docs.openblocks.dev/self-hosting/aws-ami)
6364
- [DigitalOcean](https://docs.openblocks.dev/self-hosting/digitalocean)
6465

6566
## 💪 Contributing

app.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,27 @@
1313
"quantity": 1,
1414
"size": "standard-2x"
1515
}
16+
},
17+
"env": {
18+
"ENCRYPTION_PASSWORD": {
19+
"description": "The encryption password used to encrypt all sensitive credentials in the database. You can use any random string (eg abcd).",
20+
"required": false
21+
},
22+
"ENCRYPTION_SALT": {
23+
"description": "The encryption salt used to encrypt all sensitive credentials in the database. You can use any random string (eg abcd).",
24+
"required": false
25+
},
26+
"CORS_ALLOWED_DOMAINS": {
27+
"description": "The domains supported for CORS requests. All domains are allowed by default. If there are multiple domains, please separate them with commas.",
28+
"required": false
29+
},
30+
"MONGODB_URI": {
31+
"description": "Your Mongo Database URI.",
32+
"required": false
33+
},
34+
"REDIS_URL": {
35+
"description": "Your Redis Database URL.",
36+
"required": false
37+
}
1638
}
1739
}

server/openblocks-server/src/main/resources/selfhost/ce/application-selfhost.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ common:
33
password: ${ENCRYPTION_PASSWORD:openblocks.dev}
44
salt: ${ENCRYPTION_SALT:openblocks.dev}
55
security:
6-
cors-allowed-domains: ${CORS_ALLOWED_DOMAINS:*}
6+
corsAllowedDomainString: ${CORS_ALLOWED_DOMAINS:*}
77
max-query-request-size-in-mb: 20
88
max-query-response-size-in-mb: 20
99
workspace:

0 commit comments

Comments
 (0)