start-wekan.bat 17 KB

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