start-wekan.sh 23 KB

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