Browse Source
Small Fixes for Heroku and Render.com (#718)
* remove unused env vars and use default domain
* clarify render.com wait time
* small changes
pull/731/head
Henrique Goncalves
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
14 additions and
55 deletions
-
app.json
-
packer/heroku/squidex/squidex.sh
-
packer/render/squidex/squidex.sh
-
render.yaml
|
|
|
@ -17,42 +17,6 @@ |
|
|
|
"MONGO_PASSWORD": { |
|
|
|
"description": "Mongo Password (see MONGO_USERNAME)", |
|
|
|
"value": "Squidex123" |
|
|
|
}, |
|
|
|
"EVENTSTORE__TYPE": { |
|
|
|
"description": "EventStore Type", |
|
|
|
"value": "MongoDB" |
|
|
|
}, |
|
|
|
"IDENTITY__ADMINEMAIL": { |
|
|
|
"description": "Admin Email", |
|
|
|
"value": "squidex@example.com" |
|
|
|
}, |
|
|
|
"IDENTITY__ADMINPASSWORD": { |
|
|
|
"description": "Admin Password", |
|
|
|
"generator": "secret" |
|
|
|
}, |
|
|
|
"IDENTITY__GOOGLECLIENT": { |
|
|
|
"description": "Google Client ID", |
|
|
|
"required": false |
|
|
|
}, |
|
|
|
"IDENTITY__GOOGLESECRET": { |
|
|
|
"description": "Google Secret", |
|
|
|
"required": false |
|
|
|
}, |
|
|
|
"IDENTITY__GITHUBCLIENT": { |
|
|
|
"description": "GitHub Client ID", |
|
|
|
"required": false |
|
|
|
}, |
|
|
|
"IDENTITY__GITHUBSECRET": { |
|
|
|
"description": "GitHub Secret", |
|
|
|
"required": false |
|
|
|
}, |
|
|
|
"IDENTITY__MICROSOFTCLIENT": { |
|
|
|
"description": "Microsoft Client ID", |
|
|
|
"required": false |
|
|
|
}, |
|
|
|
"IDENTITY__MICROSOFTSECRET": { |
|
|
|
"description": "Microsoft Secret", |
|
|
|
"required": false |
|
|
|
} |
|
|
|
}, |
|
|
|
"formation": { |
|
|
|
|
|
|
|
@ -10,4 +10,8 @@ export STORE__MONGODB__CONTENTDATABASE="Squidex" |
|
|
|
|
|
|
|
export ASPNETCORE_URLS="http://+:$PORT" |
|
|
|
|
|
|
|
export IDENTITY__GOOGLECLIENT="" |
|
|
|
export IDENTITY__GITHUBCLIENT="" |
|
|
|
export IDENTITY__MICROSOFTCLIENT="" |
|
|
|
|
|
|
|
dotnet Squidex.dll |
|
|
|
@ -1,10 +1,18 @@ |
|
|
|
#!/bin/sh |
|
|
|
|
|
|
|
echo "Waiting 60 seconds ..." |
|
|
|
echo "Waiting 60 seconds for MongoDB ..." |
|
|
|
sleep 60 |
|
|
|
|
|
|
|
if [ "x$DOMAIN" = "x" ]; then |
|
|
|
export DOMAIN=$RENDER_EXTERNAL_HOSTNAME |
|
|
|
fi |
|
|
|
|
|
|
|
export URLS__BASEURL="https://${DOMAIN}" |
|
|
|
export EVENTSTORE__MONGODB__CONFIGURATION="mongodb://${MONGO}" |
|
|
|
export STORE__MONGODB__CONFIGURATION="mongodb://${MONGO}" |
|
|
|
|
|
|
|
export IDENTITY__GOOGLECLIENT="" |
|
|
|
export IDENTITY__GITHUBCLIENT="" |
|
|
|
export IDENTITY__MICROSOFTCLIENT="" |
|
|
|
|
|
|
|
dotnet Squidex.dll |
|
|
|
@ -1,3 +1,4 @@ |
|
|
|
autoDeploy: false |
|
|
|
services: |
|
|
|
- type: web |
|
|
|
name: squidex_squidex |
|
|
|
@ -18,24 +19,6 @@ services: |
|
|
|
name: squidex_mongo |
|
|
|
type: pserv |
|
|
|
property: hostport |
|
|
|
- key: EVENTSTORE__TYPE |
|
|
|
value: MongoDB |
|
|
|
- key: IDENTITY__ADMINEMAIL |
|
|
|
sync: false |
|
|
|
- key: IDENTITY__ADMINPASSWORD |
|
|
|
generateValue: true |
|
|
|
- key: IDENTITY__GOOGLECLIENT |
|
|
|
sync: false |
|
|
|
- key: IDENTITY__GOOGLESECRET |
|
|
|
sync: false |
|
|
|
- key: IDENTITY__GITHUBCLIENT |
|
|
|
sync: false |
|
|
|
- key: IDENTITY__GITHUBSECRET |
|
|
|
sync: false |
|
|
|
- key: IDENTITY__MICROSOFTCLIENT |
|
|
|
sync: false |
|
|
|
- key: IDENTITY__MICROSOFTSECRET |
|
|
|
sync: false |
|
|
|
- key: ASPNETCORE_URLS |
|
|
|
value: http://+:5000 |
|
|
|
- type: pserv |
|
|
|
|