start-wekan.bat 18 KB

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