start-wekan.sh 22 KB

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