start-wekan.sh 25 KB

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