summaryrefslogtreecommitdiffstats
path: root/releases/virtualbox
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-03 16:05:24 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-03 16:05:24 +0200
commitb788deb002aab83fc127d1a8b3f47670258dbb6a (patch)
treeb5002784383ddc73258af9f2b68babd548c0be65 /releases/virtualbox
parentfa6b2e567910c5dbe007ab3482a64c9007614788 (diff)
downloadwekan-b788deb002aab83fc127d1a8b3f47670258dbb6a.tar.gz
wekan-b788deb002aab83fc127d1a8b3f47670258dbb6a.tar.bz2
wekan-b788deb002aab83fc127d1a8b3f47670258dbb6a.zip
- Add CORS https://enable-cors.org/server_meteor.html
- Add missing LDAP and TIMER environment variables. Thanks to xet7 ! Closes wekan/wekan-snap#69
Diffstat (limited to 'releases/virtualbox')
-rwxr-xr-xreleases/virtualbox/start-wekan.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/releases/virtualbox/start-wekan.sh b/releases/virtualbox/start-wekan.sh
index 388e3066..2aec8004 100755
--- a/releases/virtualbox/start-wekan.sh
+++ b/releases/virtualbox/start-wekan.sh
@@ -22,6 +22,9 @@
# If you disable Wekan API, Export Board does not work.
export WITH_API='true'
#---------------------------------------------
+ # CORS: Set Access-Control-Allow-Origin header. Example: *
+ #- CORS=*
+ #---------------------------------------------
## Optional: Integration with Matomo https://matomo.org that is installed to your server
## The address of the server where Matomo is hosted:
##export MATOMO_ADDRESS=https://example.com/matomo
@@ -187,6 +190,17 @@
# LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP
# example :
#export LDAP_DEFAULT_DOMAIN=
+ # LOGOUT_WITH_TIMER : Enables or not the option logout with timer
+ # example : LOGOUT_WITH_TIMER=true
+ #- LOGOUT_WITH_TIMER=
+ # LOGOUT_IN : The number of days
+ # example : LOGOUT_IN=1
+ #- LOGOUT_IN=
+ #- LOGOUT_ON_HOURS=
+ # LOGOUT_ON_MINUTES : The number of minutes
+ # example : LOGOUT_ON_MINUTES=55
+ #- LOGOUT_ON_MINUTES=
+
node main.js & >> ~/repos/wekan.log
cd ~/repos
#done