2019-02-12 03:09:30 +02:00
REM ------------------------------------------------------------
REM # Debug OIDC OAuth2 etc.
REM SET DEBUG=true
REM ------------------------------------------------------------
2018-11-04 18:32:08 +02:00
SET MONGO_URL = mongodb://127.0.0.1:27017/wekan
SET ROOT_URL = http://127.0.0.1:2000/
SET MAIL_URL = smtp://user:pass@mailserver.example.com:25/
SET MAIL_FROM = admin@example.com
SET PORT = 2000
2018-11-04 18:47:18 +02:00
2018-12-03 16:05:24 +02:00
REM # If you disable Wekan API with false, Export Board does not work.
2018-11-04 18:32:08 +02:00
SET WITH_API = true
2018-11-04 18:47:18 +02:00
2018-12-03 16:05:24 +02:00
REM # Optional: Integration with Matomo https://matomo.org that is installed to your server
REM # The address of the server where Matomo is hosted.
REM # example: - MATOMO_ADDRESS=https://example.com/matomo
2018-11-04 18:47:18 +02:00
REM SET MATOMO_ADDRESS=
2018-12-03 16:05:24 +02:00
REM # The value of the site ID given in Matomo server for Wekan
REM # example: - MATOMO_SITE_ID=12345
2018-11-04 18:47:18 +02:00
REM SET MATOMO_SITE_ID=
2018-12-03 16:05:24 +02:00
REM # The option do not track which enables users to not be tracked by matomo
REM # example: - MATOMO_DO_NOT_TRACK=false
2018-11-04 18:47:18 +02:00
REM SET MATOMO_DO_NOT_TRACK=
2018-12-03 16:05:24 +02:00
REM # The option that allows matomo to retrieve the username:
REM # example: MATOMO_WITH_USERNAME=true
2018-11-04 18:47:18 +02:00
REM SET MATOMO_WITH_USERNAME=false
2018-12-03 16:05:24 +02:00
REM # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
REM # Setting this to false is not recommended, it also disables all other browser policy protections
REM # and allows all iframing etc. See wekan/server/policy.js
2018-11-04 18:47:18 +02:00
SET BROWSER_POLICY_ENABLED = true
2018-12-03 16:05:24 +02:00
REM # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
2018-11-04 18:47:18 +02:00
REM SET TRUSTED_URL=
2018-12-03 16:05:24 +02:00
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 .
REM # example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
2018-11-04 18:47:18 +02:00
REM SET WEBHOOKS_ATTRIBUTES=
2018-12-03 16:05:24 +02:00
REM ------------------------------------------------------------
REM # Enable the OAuth2 connection
REM # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
REM # example: OAUTH2_ENABLED=true
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_ENABLED=false
2018-12-03 16:05:24 +02:00
REM # OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345
REM # example: OAUTH2_CLIENT_ID=abcde12345
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_CLIENT_ID=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde
REM # example: OAUTH2_SECRET=54321abcde
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_SECRET=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com
REM # example: OAUTH2_SERVER_URL=https://chat.example.com
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_SERVER_URL=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Authorization Endpoint. Example: /oauth/authorize
REM # example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_AUTH_ENDPOINT=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Userinfo Endpoint. Example: /oauth/userinfo
REM # example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_USERINFO_ENDPOINT=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Token Endpoint. Example: /oauth/token
REM # example: OAUTH2_TOKEN_ENDPOINT=/oauth/token
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_TOKEN_ENDPOINT=
2019-02-13 03:01:10 +02:00
REM # OAUTH2 ID Token Whitelist Fields.
REM SET OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
REM # OAUTH2 Request Permissions.
REM SET OAUTH2_REQUEST_PERMISSIONS=[openid email profile]
2018-12-03 16:05:24 +02:00
REM ------------------------------------------------------------
REM # LDAP_ENABLE : Enable or not the connection by the LDAP
REM # example : LDAP_ENABLE=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_ENABLE=false
2018-12-03 16:05:24 +02:00
REM # LDAP_PORT : The port of the LDAP server
REM # example : LDAP_PORT=389
2018-11-04 18:47:18 +02:00
REM SET LDAP_PORT=389
2018-12-03 16:05:24 +02:00
REM # LDAP_HOST : The host server for the LDAP server
REM # example : LDAP_HOST=localhost
2018-11-04 18:47:18 +02:00
REM SET LDAP_HOST=
2018-12-03 16:05:24 +02:00
REM # LDAP_BASEDN : The base DN for the LDAP Tree
REM # example : LDAP_BASEDN=ou=user,dc=example,dc=org
2018-11-04 18:47:18 +02:00
REM SET LDAP_BASEDN=
2018-12-03 16:05:24 +02:00
REM # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method
REM # example : LDAP_LOGIN_FALLBACK=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_LOGIN_FALLBACK=false
2018-12-03 16:05:24 +02:00
REM # LDAP_RECONNECT : Reconnect to the server if the connection is lost
REM # example : LDAP_RECONNECT=false
2018-11-04 18:47:18 +02:00
REM SET LDAP_RECONNECT=true
2018-12-03 16:05:24 +02:00
REM # LDAP_TIMEOUT : Overall timeout, in milliseconds
REM # example : LDAP_TIMEOUT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_TIMEOUT=10000
2018-12-03 16:05:24 +02:00
REM # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds
REM # example : LDAP_IDLE_TIMEOUT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_IDLE_TIMEOUT=10000
2018-12-03 16:05:24 +02:00
REM # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds
REM # example : LDAP_CONNECT_TIMEOUT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_CONNECT_TIMEOUT=10000
2018-12-03 16:05:24 +02:00
REM # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search
REM # example : LDAP_AUTHENTIFICATION=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_AUTHENTIFICATION=false
2018-12-03 16:05:24 +02:00
REM # LDAP_AUTHENTIFICATION_USERDN : The search user DN
REM # example: LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org
2018-11-04 18:47:18 +02:00
REM SET LDAP_AUTHENTIFICATION_USERDN=
2018-12-03 16:05:24 +02:00
REM # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user
REM # example : AUTHENTIFICATION_PASSWORD=admin
2018-11-04 18:47:18 +02:00
REM SET LDAP_AUTHENTIFICATION_PASSWORD=
2018-12-03 16:05:24 +02:00
REM # LDAP_LOG_ENABLED : Enable logs for the module
REM # example : LDAP_LOG_ENABLED=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_LOG_ENABLED=false
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background
REM # example : LDAP_BACKGROUND_SYNC=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_BACKGROUND_SYNC=false
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds
REM # example : LDAP_BACKGROUND_SYNC_INTERVAL=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_BACKGROUND_SYNC_INTERVAL=100
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED :
REM # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS :
REM # example : LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false
2018-12-03 16:05:24 +02:00
REM # LDAP_ENCRYPTION : If using LDAPS
REM # example : LDAP_ENCRYPTION=ssl
2018-11-04 18:47:18 +02:00
REM SET LDAP_ENCRYPTION=false
2018-12-03 16:05:24 +02:00
REM # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file.
REM # example : LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----
2018-11-04 18:47:18 +02:00
REM SET LDAP_CA_CERT=
2018-12-03 16:05:24 +02:00
REM # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate
REM # example : LDAP_REJECT_UNAUTHORIZED=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_REJECT_UNAUTHORIZED=false
2018-12-03 16:05:24 +02:00
REM # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed
REM # example : LDAP_USER_SEARCH_FILTER=
2018-11-04 18:47:18 +02:00
REM SET LDAP_USER_SEARCH_FILTER=
2018-12-03 16:05:24 +02:00
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)
REM # example : LDAP_USER_SEARCH_SCOPE=one
2018-11-04 18:47:18 +02:00
REM SET LDAP_USER_SEARCH_SCOPE=
2018-12-03 16:05:24 +02:00
REM # LDAP_USER_SEARCH_FIELD : Which field is used to find the user
REM # example : LDAP_USER_SEARCH_FIELD=uid
2018-11-04 18:47:18 +02:00
REM SET LDAP_USER_SEARCH_FIELD=
2018-12-03 16:05:24 +02:00
REM # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited)
REM # example : LDAP_SEARCH_PAGE_SIZE=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_SEARCH_PAGE_SIZE=0
2018-12-03 16:05:24 +02:00
REM # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited)
REM #33 example : LDAP_SEARCH_SIZE_LIMIT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_SEARCH_SIZE_LIMIT=0
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_ENABLE : Enable group filtering
REM # example : LDAP_GROUP_FILTER_ENABLE=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_ENABLE=false
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering
REM # example : LDAP_GROUP_FILTER_OBJECTCLASS=group
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_OBJECTCLASS=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_NAME :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_NAME=
2018-12-03 16:05:24 +02:00
REM # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier)
REM # example : LDAP_UNIQUE_IDENTIFIER_FIELD=guid
2018-11-04 18:47:18 +02:00
REM SET LDAP_UNIQUE_IDENTIFIER_FIELD=
2018-12-03 16:05:24 +02:00
REM # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8
REM # example : LDAP_UTF8_NAMES_SLUGIFY=false
2018-11-04 18:47:18 +02:00
REM SET LDAP_UTF8_NAMES_SLUGIFY=true
2018-12-03 16:05:24 +02:00
REM # LDAP_USERNAME_FIELD : Which field contains the ldap username
REM # example : LDAP_USERNAME_FIELD=username
2018-11-04 18:47:18 +02:00
REM SET LDAP_USERNAME_FIELD=
2018-12-03 16:05:24 +02:00
REM # LDAP_MERGE_EXISTING_USERS :
REM # example : LDAP_MERGE_EXISTING_USERS=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_MERGE_EXISTING_USERS=false
2018-12-03 16:05:24 +02:00
REM # LDAP_SYNC_USER_DATA :
REM # example : LDAP_SYNC_USER_DATA=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_SYNC_USER_DATA=false
2018-12-03 16:05:24 +02:00
REM # LDAP_SYNC_USER_DATA_FIELDMAP :
REM # example : LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"}
2018-11-04 18:47:18 +02:00
REM SET LDAP_SYNC_USER_DATA_FIELDMAP=
2018-12-03 16:05:24 +02:00
REM # LDAP_SYNC_GROUP_ROLES :
REM # example :
REM # SET LDAP_SYNC_GROUP_ROLES=
REM # 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
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_DEFAULT_DOMAIN=
2018-12-03 16:05:24 +02:00
REM ------------------------------------------------
REM # LOGOUT_WITH_TIMER : Enables or not the option logout with timer
REM # example : LOGOUT_WITH_TIMER=true
REM SET LOGOUT_WITH_TIMER=
REM # LOGOUT_IN : The number of days
REM # example : LOGOUT_IN=1
REM SET LOGOUT_IN=
REM # LOGOUT_ON_HOURS : The number of hours
REM # example : LOGOUT_ON_HOURS=9
REM SET LOGOUT_ON_HOURS=
REM # LOGOUT_ON_MINUTES : The number of minutes
REM # example : LOGOUT_ON_MINUTES=55
REM SET LOGOUT_ON_MINUTES=
2018-11-04 18:32:08 +02:00
cd .build\bundle
2018-11-04 18:47:18 +02:00
node main.js
2019-02-11 16:32:24 +02:00
cd ..\..