start-wekan.sh 23 KB

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