start-wekan.sh 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. # If you want to restart even on crash, uncomment while and done lines.
  2. #while true; do
  3. cd ~/repos/wekan/.build/bundle
  4. #---------------------------------------------
  5. # Debug OIDC OAuth2 etc.
  6. #export DEBUG=true
  7. #---------------------------------------------
  8. export MONGO_URL='mongodb://127.0.0.1:27017/wekan'
  9. #---------------------------------------------
  10. # Production: https://example.com/wekan
  11. # Local: http://localhost:2000
  12. #export ipaddress=$(ifdata -pa eth0)
  13. export ROOT_URL='http://localhost:2000'
  14. #---------------------------------------------
  15. # https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
  16. # https://github.com/wekan/wekan-mongodb/blob/master/docker-compose.yml
  17. export MAIL_URL='smtp://user:pass@mailserver.example.com:25/'
  18. export MAIL_FROM='Wekan Boards <info@example.com>'
  19. #export MAIL_SERVICE=Outlook365
  20. #export MAIL_SERVICE_USER=firstname.lastname@hotmail.com
  21. #export MAIL_SERVICE_PASSWORD=SecretPassword
  22. #---------------------------------------------
  23. #export KADIRA_OPTIONS_ENDPOINT=http://127.0.0.1:11011
  24. #---------------------------------------------
  25. # This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
  26. export PORT=2000
  27. #---------------------------------------------
  28. # ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
  29. #export RESULTS_PER_PAGE=20
  30. #---------------------------------------------
  31. # Wekan Export Board works when WITH_API=true.
  32. # If you disable Wekan API with false, Export Board does not work.
  33. export WITH_API='true'
  34. #---------------------------------------------------------------
  35. # ==== PASSWORD BRUTE FORCE PROTECTION ====
  36. #https://atmospherejs.com/lucasantoniassi/accounts-lockout
  37. #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js
  38. #export ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3
  39. #export ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60
  40. #export ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15
  41. #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3
  42. #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60
  43. #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15
  44. #---------------------------------------------------------------
  45. # ==== ACCOUNT OPTIONS ====
  46. # https://docs.meteor.com/api/accounts-multi.html#AccountsCommon-config
  47. # Defaults below. Uncomment to change. wekan/server/accounts-common.js
  48. # - ACCOUNTS_COMMON_LOGIN_EXPIRATION_IN_DAYS=90
  49. #---------------------------------------------------------------
  50. # ==== RICH TEXT EDITOR IN CARD COMMENTS ====
  51. # https://github.com/wekan/wekan/pull/2560
  52. export RICHER_CARD_COMMENT_EDITOR=false
  53. #---------------------------------------------------------------
  54. # ==== CARD OPENED, SEND WEBHOOK MESSAGE ====
  55. export CARD_OPENED_WEBHOOK_ENABLED=false
  56. #---------------------------------------------------------------
  57. # ==== Allow to shrink attached/pasted image ====
  58. # https://github.com/wekan/wekan/pull/2544
  59. #export MAX_IMAGE_PIXEL=1024
  60. #export IMAGE_COMPRESS_RATIO=80
  61. #---------------------------------------------------------------
  62. # ==== NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE =====
  63. # Number of days after a notification is read before we remove it.
  64. # Default: 2
  65. #- NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2
  66. #---------------------------------------------------------------
  67. # ==== BIGEVENTS DUE ETC NOTIFICATIONS =====
  68. # https://github.com/wekan/wekan/pull/2541
  69. # Introduced a system env var BIGEVENTS_PATTERN default as "NONE",
  70. # so any activityType matches the pattern, system will send out
  71. # notifications to all board members no matter they are watching
  72. # or tracking the board or not. Owner of the wekan server can
  73. # disable the feature by setting this variable to "NONE" or
  74. # change the pattern to any valid regex. i.e. '|' delimited
  75. # activityType names.
  76. # a) Example
  77. #export BIGEVENTS_PATTERN=due
  78. # b) All
  79. #export BIGEVENTS_PATTERN=received|start|due|end
  80. # c) Disabled
  81. export BIGEVENTS_PATTERN=NONE
  82. #---------------------------------------------------------------
  83. # ==== EMAIL DUE DATE NOTIFICATION =====
  84. # https://github.com/wekan/wekan/pull/2536
  85. # System timelines will be showing any user modification for
  86. # dueat startat endat receivedat, also notification to
  87. # the watchers and if any card is due, about due or past due.
  88. #
  89. # Notify due days, default is None.
  90. #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
  91. # it will notify user 2 days before due day and on the due day
  92. #
  93. # Notify due at hour of day. Default every morning at 8am. Can be 0-23.
  94. # If env variable has parsing error, use default. Notification sent to watchers.
  95. #export NOTIFY_DUE_AT_HOUR_OF_DAY=8
  96. #-----------------------------------------------------------------
  97. # ==== EMAIL NOTIFICATION TIMEOUT, ms =====
  98. # Defaut: 30000 ms = 30s
  99. #export EMAIL_NOTIFICATION_TIMEOUT=30000
  100. #-----------------------------------------------------------------
  101. # CORS: Set Access-Control-Allow-Origin header. Example: *
  102. #export CORS=*
  103. # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API.
  104. #export CORS_ALLOW_HEADERS=Authorization,Content-Type
  105. # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: *
  106. #export CORS_EXPOSE_HEADERS=*
  107. #---------------------------------------------
  108. ## Optional: Integration with Matomo https://matomo.org that is installed to your server
  109. ## The address of the server where Matomo is hosted:
  110. ##export MATOMO_ADDRESS=https://example.com/matomo
  111. #export MATOMO_ADDRESS=
  112. ## The value of the site ID given in Matomo server for Wekan
  113. # Example: export MATOMO_SITE_ID=123456789
  114. #export MATOMO_SITE_ID=''
  115. ## The option do not track which enables users to not be tracked by matomo"
  116. #Example: export MATOMO_DO_NOT_TRACK=false
  117. #export MATOMO_DO_NOT_TRACK=true
  118. ## The option that allows matomo to retrieve the username:
  119. # Example: export MATOMO_WITH_USERNAME=true
  120. #export MATOMO_WITH_USERNAME='false'
  121. # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
  122. # Setting this to false is not recommended, it also disables all other browser policy protections
  123. # and allows all iframing etc. See wekan/server/policy.js
  124. # Default value: true
  125. export BROWSER_POLICY_ENABLED=true
  126. # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
  127. # Example: export TRUSTED_URL=http://example.com
  128. export TRUSTED_URL=''
  129. # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId .
  130. # Example: export WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
  131. export WEBHOOKS_ATTRIBUTES=''
  132. #---------------------------------------------
  133. # ==== OAUTH2 AZURE ====
  134. # https://github.com/wekan/wekan/wiki/Azure
  135. # 1) Register the application with Azure. Make sure you capture
  136. # the application ID as well as generate a secret key.
  137. # 2) Configure the environment variables. This differs slightly
  138. # by installation type, but make sure you have the following:
  139. #export OAUTH2_ENABLED=true
  140. # Use OAuth2 ADFS additional changes. Also needs OAUTH2_ENABLED=true setting.
  141. #export OAUTH2_ADFS_ENABLED=false
  142. # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
  143. # OAuth2 login style: popup or redirect.
  144. #export OAUTH2_LOGIN_STYLE=redirect
  145. # Application GUID captured during app registration:
  146. #export OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
  147. # Secret key generated during app registration:
  148. #export OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  149. #export OAUTH2_SERVER_URL=https://login.microsoftonline.com/
  150. #export OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize
  151. #export OAUTH2_USERINFO_ENDPOINT=https://graph.microsoft.com/oidc/userinfo
  152. #export OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token
  153. # The claim name you want to map to the unique ID field:
  154. #export OAUTH2_ID_MAP=email
  155. # The claim name you want to map to the username field:
  156. #export OAUTH2_USERNAME_MAP=email
  157. # The claim name you want to map to the full name field:
  158. #export OAUTH2_FULLNAME_MAP=name
  159. # The claim name you want to map to the email field:
  160. #export OAUTH2_EMAIL_MAP=email
  161. #-----------------------------------------------------------------
  162. # ==== OAUTH2 KEYCLOAK ====
  163. # https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED
  164. #export OAUTH2_ENABLED=true
  165. # OAuth2 login style: popup or redirect.
  166. #export OAUTH2_LOGIN_STYLE=redirect
  167. #export OAUTH2_CLIENT_ID=<Keycloak create Client ID>
  168. #export OAUTH2_SERVER_URL=<Keycloak server name>/auth
  169. #export OAUTH2_AUTH_ENDPOINT=/realms/<keycloak realm>/protocol/openid-connect/auth
  170. #export OAUTH2_USERINFO_ENDPOINT=/realms/<keycloak realm>/protocol/openid-connect/userinfo
  171. #export OAUTH2_TOKEN_ENDPOINT=/realms/<keycloak realm>/protocol/openid-connect/token
  172. #export OAUTH2_SECRET=<keycloak client secret>
  173. #-----------------------------------------------------------------
  174. # ==== OAUTH2 DOORKEEPER ====
  175. # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
  176. # https://github.com/wekan/wekan/issues/1874
  177. # https://github.com/wekan/wekan/wiki/OAuth2
  178. # Enable the OAuth2 connection
  179. #export OAUTH2_ENABLED=true
  180. # OAuth2 login style: popup or redirect.
  181. #export OAUTH2_LOGIN_STYLE=redirect
  182. # OAuth2 Client ID.
  183. #export OAUTH2_CLIENT_ID=abcde12345
  184. # OAuth2 Secret.
  185. #export OAUTH2_SECRET=54321abcde
  186. # OAuth2 Server URL.
  187. #export OAUTH2_SERVER_URL=https://chat.example.com
  188. # OAuth2 Authorization Endpoint.
  189. #export OAUTH2_AUTH_ENDPOINT=/oauth/authorize
  190. # OAuth2 Userinfo Endpoint.
  191. #export OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
  192. # OAuth2 Token Endpoint.
  193. #export OAUTH2_TOKEN_ENDPOINT=/oauth/token
  194. # OAUTH2 ID Token Whitelist Fields.
  195. #export OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
  196. # OAUTH2 Request Permissions.
  197. #export OAUTH2_REQUEST_PERMISSIONS='openid profile email'
  198. # OAuth2 ID Mapping
  199. #export OAUTH2_ID_MAP=
  200. # OAuth2 Username Mapping
  201. #export OAUTH2_USERNAME_MAP=
  202. # OAuth2 Fullname Mapping
  203. #export OAUTH2_FULLNAME_MAP=
  204. # OAuth2 Email Mapping
  205. #export OAUTH2_EMAIL_MAP=
  206. #---------------------------------------------
  207. # LDAP_ENABLE : Enable or not the connection by the LDAP
  208. # example : export LDAP_ENABLE=true
  209. #export LDAP_ENABLE=false
  210. # LDAP_PORT : The port of the LDAP server
  211. # example : export LDAP_PORT=389
  212. #export LDAP_PORT=389
  213. # LDAP_HOST : The host server for the LDAP server
  214. # example : export LDAP_HOST=localhost
  215. #export LDAP_HOST=
  216. # LDAP_BASEDN : The base DN for the LDAP Tree
  217. # example : export LDAP_BASEDN=ou=user,dc=example,dc=org
  218. #export LDAP_BASEDN=
  219. # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method
  220. # example : export LDAP_LOGIN_FALLBACK=true
  221. #export LDAP_LOGIN_FALLBACK=false
  222. # LDAP_RECONNECT : Reconnect to the server if the connection is lost
  223. # example : export LDAP_RECONNECT=false
  224. #export LDAP_RECONNECT=true
  225. # LDAP_TIMEOUT : Overall timeout, in milliseconds
  226. # example : export LDAP_TIMEOUT=12345
  227. #export LDAP_TIMEOUT=10000
  228. # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds
  229. # example : export LDAP_IDLE_TIMEOUT=12345
  230. #export LDAP_IDLE_TIMEOUT=10000
  231. # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds
  232. # example : export LDAP_CONNECT_TIMEOUT=12345
  233. #export LDAP_CONNECT_TIMEOUT=10000
  234. # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search
  235. # example : export LDAP_AUTHENTIFICATION=true
  236. #export LDAP_AUTHENTIFICATION=false
  237. # LDAP_AUTHENTIFICATION_USERDN : The search user DN
  238. # example : export LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org
  239. #----------------------------------------------------------------------------
  240. # The search user DN - You need quotes when you have spaces in parameters
  241. # 2 examples:
  242. #export LDAP_AUTHENTIFICATION_USERDN="CN=ldap admin,CN=users,DC=domainmatter,DC=lan"
  243. #export LDAP_AUTHENTIFICATION_USERDN="CN=wekan_adm,OU=serviceaccounts,OU=admin,OU=prod,DC=mydomain,DC=com"
  244. #---------------------------------------------------------------------------
  245. # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user
  246. # example : AUTHENTIFICATION_PASSWORD=admin
  247. #export LDAP_AUTHENTIFICATION_PASSWORD=
  248. # LDAP_LOG_ENABLED : Enable logs for the module
  249. # example : export LDAP_LOG_ENABLED=true
  250. #export LDAP_LOG_ENABLED=false
  251. # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background
  252. # example : export LDAP_BACKGROUND_SYNC=true
  253. #export LDAP_BACKGROUND_SYNC=false
  254. # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds
  255. # At which interval does the background task sync in milliseconds.
  256. # Leave this unset, so it uses default, and does not crash.
  257. # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722
  258. export LDAP_BACKGROUND_SYNC_INTERVAL=''
  259. # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED :
  260. # example : export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true
  261. #export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false
  262. # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS :
  263. # example : export LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true
  264. #export LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false
  265. # LDAP_ENCRYPTION : If using LDAPS
  266. # example : export LDAP_ENCRYPTION=ssl
  267. #export LDAP_ENCRYPTION=false
  268. # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file.
  269. # example : export LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----
  270. #export LDAP_CA_CERT=
  271. # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate
  272. # example : export LDAP_REJECT_UNAUTHORIZED=true
  273. #export LDAP_REJECT_UNAUTHORIZED=false
  274. # Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key).
  275. #export LDAP_USER_AUTHENTICATION=true
  276. # Which field is used to find the user for the user authentication. Default: uid.
  277. #export LDAP_USER_AUTHENTICATION_FIELD=uid
  278. # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed
  279. # example : export LDAP_USER_SEARCH_FILTER=
  280. #export LDAP_USER_SEARCH_FILTER=
  281. # LDAP_USER_SEARCH_SCOPE : base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree)
  282. # example : export LDAP_USER_SEARCH_SCOPE=one
  283. #export LDAP_USER_SEARCH_SCOPE=
  284. # LDAP_USER_SEARCH_FIELD : Which field is used to find the user
  285. # example : export LDAP_USER_SEARCH_FIELD=uid
  286. #export LDAP_USER_SEARCH_FIELD=
  287. # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited)
  288. # example : export LDAP_SEARCH_PAGE_SIZE=12345
  289. #export LDAP_SEARCH_PAGE_SIZE=0
  290. # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited)
  291. # example : export LDAP_SEARCH_SIZE_LIMIT=12345
  292. #export LDAP_SEARCH_SIZE_LIMIT=0
  293. # LDAP_GROUP_FILTER_ENABLE : Enable group filtering
  294. # example : export LDAP_GROUP_FILTER_ENABLE=true
  295. #export LDAP_GROUP_FILTER_ENABLE=false
  296. # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering
  297. # example : export LDAP_GROUP_FILTER_OBJECTCLASS=group
  298. #export LDAP_GROUP_FILTER_OBJECTCLASS=
  299. # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE :
  300. # example :
  301. #export LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=
  302. # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE :
  303. # example :
  304. #export LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=
  305. # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT :
  306. # example :
  307. #export LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=
  308. # LDAP_GROUP_FILTER_GROUP_NAME :
  309. # example :
  310. #export LDAP_GROUP_FILTER_GROUP_NAME=
  311. # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier)
  312. # example : export LDAP_UNIQUE_IDENTIFIER_FIELD=guid
  313. #export LDAP_UNIQUE_IDENTIFIER_FIELD=
  314. # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8
  315. # example : export LDAP_UTF8_NAMES_SLUGIFY=false
  316. #export LDAP_UTF8_NAMES_SLUGIFY=true
  317. # LDAP_USERNAME_FIELD : Which field contains the ldap username
  318. # example : export LDAP_USERNAME_FIELD=username
  319. #export LDAP_USERNAME_FIELD=
  320. # LDAP_FULLNAME_FIELD : Which field contains the ldap fullname
  321. # example : export LDAP_FULLNAME_FIELD=fullname
  322. #export LDAP_FULLNAME_FIELD=
  323. # LDAP_MERGE_EXISTING_USERS :
  324. # example : export LDAP_MERGE_EXISTING_USERS=true
  325. #export LDAP_MERGE_EXISTING_USERS=false
  326. # LDAP_EMAIL_MATCH_ENABLE : allow existing account matching by e-mail address when username does not match
  327. # example: LDAP_EMAIL_MATCH_ENABLE=true
  328. #export LDAP_EMAIL_MATCH_ENABLE=false
  329. # LDAP_EMAIL_MATCH_REQUIRE : require existing account matching by e-mail address when username does match
  330. # example: LDAP_EMAIL_MATCH_REQUIRE=true
  331. #export LDAP_EMAIL_MATCH_REQUIRE=false
  332. # LDAP_EMAIL_MATCH_VERIFIED : require existing account email address to be verified for matching
  333. # example: LDAP_EMAIL_MATCH_VERIFIED=true
  334. #export LDAP_EMAIL_MATCH_VERIFIED=false
  335. # LDAP_EMAIL_FIELD : which field contains the LDAP e-mail address
  336. # example: LDAP_EMAIL_FIELD=mail
  337. #export LDAP_EMAIL_FIELD=
  338. # LDAP_SYNC_USER_DATA :
  339. # example : export LDAP_SYNC_USER_DATA=true
  340. #export LDAP_SYNC_USER_DATA=false
  341. # LDAP_SYNC_USER_DATA_FIELDMAP :
  342. # example : export LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"}
  343. #export LDAP_SYNC_USER_DATA_FIELDMAP=
  344. # LDAP_SYNC_GROUP_ROLES :
  345. # example :
  346. #export LDAP_SYNC_GROUP_ROLES=
  347. # 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
  348. # example :
  349. #export LDAP_DEFAULT_DOMAIN=
  350. # Enable/Disable syncing of admin status based on ldap groups:
  351. #export LDAP_SYNC_ADMIN_STATUS=true
  352. # Comma separated list of admin group names to sync.
  353. #export LDAP_SYNC_ADMIN_GROUPS=group1,group2
  354. #---------------------------------------------------------------------
  355. # Login to LDAP automatically with HTTP header.
  356. # In below example for siteminder, at right side of = is header name.
  357. #export HEADER_LOGIN_ID=HEADERUID
  358. #export HEADER_LOGIN_FIRSTNAME=HEADERFIRSTNAME
  359. #export HEADER_LOGIN_LASTNAME=HEADERLASTNAME
  360. #export HEADER_LOGIN_EMAIL=HEADEREMAILADDRESS
  361. #---------------------------------------------------------------------
  362. # LOGOUT_WITH_TIMER : Enables or not the option logout with timer
  363. # example : LOGOUT_WITH_TIMER=true
  364. #export LOGOUT_WITH_TIMER=
  365. # LOGOUT_IN : The number of days
  366. # example : LOGOUT_IN=1
  367. #export LOGOUT_IN=
  368. #export LOGOUT_ON_HOURS=
  369. # LOGOUT_ON_MINUTES : The number of minutes
  370. # example : LOGOUT_ON_MINUTES=55
  371. #export LOGOUT_ON_MINUTES=
  372. #---------------------------------------------------------------------
  373. # PASSWORD_LOGIN_ENABLED : Enable or not the password login form.
  374. #export PASSWORD_LOGIN_ENABLED=true
  375. #---------------------------------------------------------------------
  376. #export CAS_ENABLED=true
  377. #export CAS_BASE_URL=https://cas.example.com/cas
  378. #export CAS_LOGIN_URL=https://cas.example.com/login
  379. #export CAS_VALIDATE_URL=https://cas.example.com/cas/p3/serviceValidate
  380. #---------------------------------------------------------------------
  381. #export SAML_ENABLED=true
  382. #export SAML_PROVIDER=
  383. #export SAML_ENTRYPOINT=
  384. #export SAML_ISSUER=
  385. #export SAML_CERT=
  386. #export SAML_IDPSLO_REDIRECTURL=
  387. #export SAML_PRIVATE_KEYFILE=
  388. #export SAML_PUBLIC_CERTFILE=
  389. #export SAML_IDENTIFIER_FORMAT=
  390. #export SAML_LOCAL_PROFILE_MATCH_ATTRIBUTE=
  391. #export SAML_ATTRIBUTES=
  392. #---------------------------------------------------------------------
  393. # Wait spinner to use
  394. #export WAIT_SPINNER=Bounce
  395. #---------------------------------------------------------------------
  396. node main.js & >> ~/repos/wekan.log
  397. cd ~/repos
  398. #done