start-wekan.sh 23 KB

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