Advertisement
Guest User

testy

a guest
Feb 15th, 2019
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.23 KB | None | 0 0
  1. version: '2'
  2.  
  3. # Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required.
  4. #---------------------------------------------------------------------------------------------------------
  5. # ==== CREATING USERS AND LOGGING IN TO WEKAN ====
  6. # https://github.com/wekan/wekan/wiki/Adding-users
  7. #---------------------------------------------------------------------------------------------------------
  8. # ==== FORGOT PASSWORD ====
  9. # https://github.com/wekan/wekan/wiki/Forgot-Password
  10. #---------------------------------------------------------------------------------------------------------
  11. # ==== Upgrading Wekan to new version =====
  12. # 1) Stop Wekan:
  13. # docker-compose stop
  14. # 2) Download new version:
  15. # docker-compose pull wekan
  16. # 3) If you have more networks for VPN etc as described at bottom of
  17. # this config, download for them too:
  18. # docker-compose pull wekan2
  19. # 4) Start Wekan:
  20. # docker-compose start
  21. #----------------------------------------------------------------------------------
  22. # ==== OPTIONAL: DEDICATED DOCKER USER ====
  23. # 1) Optionally create a dedicated user for Wekan, for example:
  24. # sudo useradd -d /home/wekan -m -s /bin/bash wekan
  25. # 2) Add this user to the docker group, then logout+login or reboot:
  26. # sudo usermod -aG docker wekan
  27. # 3) Then login as user wekan.
  28. # 4) Create this file /home/wekan/docker-compose.yml with your modifications.
  29. #----------------------------------------------------------------------------------
  30. # ==== RUN DOCKER AS SERVICE ====
  31. # 1a) Running Docker as service, on Systemd like Debian 9, Ubuntu 16.04, CentOS 7:
  32. # sudo systemctl enable docker
  33. # sudo systemctl start docker
  34. # 1b) Running Docker as service, on init.d like Debian 8, Ubuntu 14.04, CentOS 6:
  35. # sudo update-rc.d docker defaults
  36. # sudo service docker start
  37. # ----------------------------------------------------------------------------------
  38. # ==== USAGE OF THIS docker-compose.yml ====
  39. # 1) For seeing does Wekan work, try this and check with your webbroser:
  40. # docker-compose up
  41. # 2) Stop Wekan and start Wekan in background:
  42. # docker-compose stop
  43. # docker-compose up -d
  44. # 3) See running Docker containers:
  45. # docker ps
  46. # 4) Stop Docker containers:
  47. # docker-compose stop
  48. # ----------------------------------------------------------------------------------
  49. # ===== INSIDE DOCKER CONTAINERS, AND BACKUP/RESTORE ====
  50. # https://github.com/wekan/wekan/wiki/Backup
  51. # If really necessary, repair MongoDB: https://github.com/wekan/wekan-mongodb/issues/6#issuecomment-424004116
  52. # 1) Going inside containers:
  53. # a) Wekan app, does not contain data
  54. # docker exec -it wekan-app bash
  55. # b) MongoDB, contains all data
  56. # docker exec -it wekan-db bash
  57. # 2) Copying database to outside of container:
  58. # docker exec -it wekan-db bash
  59. # cd /data
  60. # mongodump
  61. # exit
  62. # docker cp wekan-db:/data/dump .
  63. # 3) Restoring database
  64. # # 1) Stop wekan
  65. # docker stop wekan-app
  66. # # 2) Go inside database container
  67. # docker exec -it wekan-db bash
  68. # # 3) and data directory
  69. # cd /data
  70. # # 4) Remove previos dump
  71. # rm -rf dump
  72. # # 5) Exit db container
  73. # exit
  74. # # 6) Copy dump to inside docker container
  75. # docker cp dump wekan-db:/data/
  76. # # 7) Go inside database container
  77. # docker exec -it wekan-db bash
  78. # # 8) and data directory
  79. # cd /data
  80. # # 9) Restore
  81. # mongorestore --drop
  82. # # 10) Exit db container
  83. # exit
  84. # # 11) Start wekan
  85. # docker start wekan-app
  86. #-------------------------------------------------------------------------
  87.  
  88. services:
  89.  
  90. wekandb:
  91. #-------------------------------------------------------------------------------------
  92. # ==== MONGODB AND METEOR VERSION ====
  93. # a) CURRENTLY BROKEN: For Wekan Meteor 1.8.x version at meteor-1.8 branch, use mongo 4.x
  94. # image: mongo:4.0.4
  95. # b) For Wekan Meteor 1.6.x version at master/devel/edge branches.
  96. # Only for Snap and Sandstorm while they are not upgraded yet to Meteor 1.8.x
  97. image: mongo:3.2.21
  98. #-------------------------------------------------------------------------------------
  99. container_name: wekan-db
  100. restart: always
  101. command: mongod --smallfiles --oplogSize 128
  102. networks:
  103. - wekan-tier
  104. expose:
  105. - 27017
  106. volumes:
  107. - wekan-db:/data/db
  108. - wekan-db-dump:/dump
  109.  
  110. wekan:
  111. #-------------------------------------------------------------------------------------
  112. # ==== MONGODB AND METEOR VERSION ====
  113. # a) CURRENTLY BROKEN: For Wekan Meteor 1.8.x version at meteor-1.8 branch,
  114. # using https://quay.io/wekan/wekan automatic builds
  115. # image: quay.io/wekan/wekan:meteor-1.8
  116. # b) For Wekan Meteor 1.6.x version at master/devel/edge branches.
  117. # Only for Snap and Sandstorm while they are not upgraded yet to Meteor 1.8.x
  118. image: quay.io/wekan/wekan
  119. # c) Using specific Meteor 1.6.x version tag:
  120. # image: quay.io/wekan/wekan:v1.95
  121. # c) Using Docker Hub automatic builds https://hub.docker.com/r/wekanteam/wekan
  122. # image: wekanteam/wekan:meteor-1.8
  123. # image: wekanteam/wekan:v1.95
  124. #-------------------------------------------------------------------------------------
  125. container_name: wekan-app
  126. restart: always
  127. networks:
  128. - wekan-tier
  129. #-------------------------------------------------------------------------------------
  130. # ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ====
  131. # ==== and use commands: docker-compose up -d --build
  132. #build:
  133. # context: .
  134. # dockerfile: Dockerfile
  135. # args:
  136. # - NODE_VERSION=${NODE_VERSION}
  137. # - METEOR_RELEASE=${METEOR_RELEASE}
  138. # - NPM_VERSION=${NPM_VERSION}
  139. # - ARCHITECTURE=${ARCHITECTURE}
  140. # - SRC_PATH=${SRC_PATH}
  141. # - METEOR_EDGE=${METEOR_EDGE}
  142. # - USE_EDGE=${USE_EDGE}
  143. #-------------------------------------------------------------------------------------
  144. ports:
  145. # Docker outsideport:insideport. Do not add anything extra here.
  146. # For example, if you want to have wekan on port 3001,
  147. # use 3001:8080 . Do not add any extra address etc here, that way it does not work.
  148. # remove port mapping if you use nginx reverse proxy, port 8080 is already exposed to wekan-tier network
  149. - 80:8080
  150. environment:
  151. - MONGO_URL=mongodb://wekandb:27017/wekan
  152. #---------------------------------------------------------------
  153. # ==== ROOT_URL SETTING ====
  154. # Change ROOT_URL to your real Wekan URL, for example:
  155. # If you have Caddy/Nginx/Apache providing SSL
  156. # - https://example.com
  157. # - https://boards.example.com
  158. # This can be problematic with avatars https://github.com/wekan/wekan/issues/1776
  159. # - https://example.com/wekan
  160. # If without https, can be only wekan node, no need for Caddy/Nginx/Apache if you don't need them
  161. # - http://example.com
  162. # - http://boards.example.com
  163. # - http://192.168.1.100 <=== using at local LAN
  164. - ROOT_URL=http://localhost # <=== using only at same laptop/desktop where Wekan is installed
  165. #---------------------------------------------------------------
  166. # ==== EMAIL SETTINGS ====
  167. # Email settings are required in both MAIL_URL and Admin Panel,
  168. # see https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
  169. # For SSL in email, change smtp:// to smtps://
  170. # NOTE: Special characters need to be url-encoded in MAIL_URL.
  171. # You can encode those characters for example at: https://www.urlencoder.org
  172. - MAIL_URL=smtp://user:pass@mailserver.example.com:25/
  173. - MAIL_FROM='Example Wekan Support <support@example.com>'
  174. #---------------------------------------------------------------
  175. # ==== OPTIONAL: MONGO OPLOG SETTINGS =====
  176. # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-378343587
  177. # We've fixed our CPU usage problem today with an environment
  178. # change around Wekan. I wasn't aware during implementation
  179. # that if you're using more than 1 instance of Wekan
  180. # (or any MeteorJS based tool) you're supposed to set
  181. # MONGO_OPLOG_URL as an environment variable.
  182. # Without setting it, Meteor will perform a pull-and-diff
  183. # update of it's dataset. With it, Meteor will update from
  184. # the OPLOG. See here
  185. # https://blog.meteor.com/tuning-meteor-mongo-livedata-for-scalability-13fe9deb8908
  186. # After setting
  187. # MONGO_OPLOG_URL=mongodb://<username>:<password>@<mongoDbURL>/local?authSource=admin&replicaSet=rsWekan
  188. # the CPU usage for all Wekan instances dropped to an average
  189. # of less than 10% with only occasional spikes to high usage
  190. # (I guess when someone is doing a lot of work)
  191. # - MONGO_OPLOG_URL=mongodb://<username>:<password>@<mongoDbURL>/local?authSource=admin&replicaSet=rsWekan
  192. #---------------------------------------------------------------
  193. # ==== OPTIONAL: KADIRA PERFORMANCE MONITORING FOR METEOR ====
  194. # https://github.com/edemaine/kadira-compose
  195. # https://github.com/meteor/meteor-apm-agent
  196. # https://blog.meteor.com/kadira-apm-is-now-open-source-490469ffc85f
  197. #- APM_OPTIONS_ENDPOINT=http://<kadira-ip>:11011
  198. #- APM_APP_ID=
  199. #- APM_APP_SECRET=
  200. #---------------------------------------------------------------
  201. # ==== OPTIONAL: LOGS AND STATS ====
  202. # https://github.com/wekan/wekan/wiki/Logs
  203. #
  204. # Daily export of Wekan changes as JSON to Logstash and ElasticSearch / Kibana (ELK)
  205. # https://github.com/wekan/wekan-logstash
  206. #
  207. # Statistics Python script for Wekan Dashboard
  208. # https://github.com/wekan/wekan-stats
  209. #
  210. # Console, file, and zulip logger on database changes https://github.com/wekan/wekan/pull/1010
  211. # with fix to replace console.log by winston logger https://github.com/wekan/wekan/pull/1033
  212. # but there could be bug https://github.com/wekan/wekan/issues/1094
  213. #
  214. # There is Feature Request: Logging date and time of all activity with summary reports,
  215. # and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598
  216. #---------------------------------------------------------------
  217. # ==== WEKAN API AND EXPORT BOARD ====
  218. # Wekan Export Board works when WITH_API=true.
  219. # https://github.com/wekan/wekan/wiki/REST-API
  220. # https://github.com/wekan/wekan-gogs
  221. # If you disable Wekan API with false, Export Board does not work.
  222. - WITH_API=true
  223. #-----------------------------------------------------------------
  224. # ==== CORS =====
  225. # CORS: Set Access-Control-Allow-Origin header.
  226. #- CORS=*
  227. #-----------------------------------------------------------------
  228. # ==== MATOMO INTEGRATION ====
  229. # Optional: Integration with Matomo https://matomo.org that is installed to your server
  230. # The address of the server where Matomo is hosted.
  231. #- MATOMO_ADDRESS=https://example.com/matomo
  232. # The value of the site ID given in Matomo server for Wekan
  233. #- MATOMO_SITE_ID=1
  234. # The option do not track which enables users to not be tracked by matomo
  235. #- MATOMO_DO_NOT_TRACK=true
  236. # The option that allows matomo to retrieve the username:
  237. #- MATOMO_WITH_USERNAME=true
  238. #-----------------------------------------------------------------
  239. # ==== BROWSER POLICY AND TRUSTED IFRAME URL ====
  240. # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
  241. # Setting this to false is not recommended, it also disables all other browser policy protections
  242. # and allows all iframing etc. See wekan/server/policy.js
  243. - BROWSER_POLICY_ENABLED=true
  244. # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
  245. #- TRUSTED_URL=https://intra.example.com
  246. #-----------------------------------------------------------------
  247. # ==== OUTGOING WEBHOOKS ====
  248. # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId .
  249. #- WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
  250. #-----------------------------------------------------------------
  251. # ==== Debug OIDC OAuth2 etc ====
  252. #- DEBUG=true
  253. #-----------------------------------------------------------------
  254. # ==== OAUTH2 AZURE ====
  255. # https://github.com/wekan/wekan/wiki/Azure
  256. # 1) Register the application with Azure. Make sure you capture
  257. # the application ID as well as generate a secret key.
  258. # 2) Configure the environment variables. This differs slightly
  259. # by installation type, but make sure you have the following:
  260. #- OAUTH2_ENABLED=true
  261. # Application GUID captured during app registration:
  262. #- OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
  263. # Secret key generated during app registration:
  264. #- OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  265. #- OAUTH2_SERVER_URL=https://login.microsoftonline.com/
  266. #- OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize
  267. #- OAUTH2_USERINFO_ENDPOINT=https://graph.microsoft.com/oidc/userinfo
  268. #- OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token
  269. # The claim name you want to map to the unique ID field:
  270. #- OAUTH2_ID_MAP=email
  271. # The claim name you want to map to the username field:
  272. #- OAUTH2_USERNAME_MAP=email
  273. # The claim name you want to map to the full name field:
  274. #- OAUTH2_FULLNAME_MAP=name
  275. # Tthe claim name you want to map to the email field:
  276. #- OAUTH2_EMAIL_MAP=email
  277. #-----------------------------------------------------------------
  278. # ==== OAUTH2 KEYCLOAK ====
  279. # https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED
  280. #- OAUTH2_ENABLED=true
  281. #- OAUTH2_CLIENT_ID=<Keycloak create Client ID>
  282. #- OAUTH2_SERVER_URL=<Keycloak server name>/auth
  283. #- OAUTH2_AUTH_ENDPOINT=/realms/<keycloak realm>/protocol/openid-connect/auth
  284. #- OAUTH2_USERINFO_ENDPOINT=/realms/<keycloak realm>/protocol/openid-connect/userinfo
  285. #- OAUTH2_TOKEN_ENDPOINT=/realms/<keycloak realm>/protocol/openid-connect/token
  286. #- OAUTH2_SECRET=<keycloak client secret>
  287. #-----------------------------------------------------------------
  288. # ==== OAUTH2 DOORKEEPER ====
  289. # https://github.com/wekan/wekan/issues/1874
  290. # https://github.com/wekan/wekan/wiki/OAuth2
  291. # Enable the OAuth2 connection
  292. #- OAUTH2_ENABLED=true
  293. # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
  294. # OAuth2 Client ID.
  295. #- OAUTH2_CLIENT_ID=abcde12345
  296. # OAuth2 Secret.
  297. #- OAUTH2_SECRET=54321abcde
  298. # OAuth2 Server URL.
  299. #- OAUTH2_SERVER_URL=https://chat.example.com
  300. # OAuth2 Authorization Endpoint.
  301. #- OAUTH2_AUTH_ENDPOINT=/oauth/authorize
  302. # OAuth2 Userinfo Endpoint.
  303. #- OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
  304. # OAuth2 Token Endpoint.
  305. #- OAUTH2_TOKEN_ENDPOINT=/oauth/token
  306. # OAuth2 ID Mapping
  307. #- OAUTH2_ID_MAP=
  308. # OAuth2 Username Mapping
  309. #- OAUTH2_USERNAME_MAP=
  310. # OAuth2 Fullname Mapping
  311. #- OAUTH2_FULLNAME_MAP=
  312. # OAuth2 Email Mapping
  313. #- OAUTH2_EMAIL_MAP=
  314. # OAUTH2 ID Token Whitelist Fields.
  315. #- OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
  316. # OAUTH2 Request Permissions.
  317. #- OAUTH2_REQUEST_PERMISSIONS=[openid email profile]
  318. #-----------------------------------------------------------------
  319. # ==== LDAP ====
  320. # https://github.com/wekan/wekan/wiki/LDAP
  321. # For Snap settings see https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys
  322. # Most settings work both on Snap and Docker below.
  323. # Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required.
  324. #
  325. # DEFAULT_AUTHENTICATION_METHOD : The default authentication method used if a user does not exist to create and authenticate. Can be set as ldap.
  326. # example : DEFAULT_AUTHENTICATION_METHOD=ldap
  327. #- DEFAULT_AUTHENTICATION_METHOD=
  328. #
  329. # LDAP_ENABLE : Enable or not the connection by the LDAP
  330. # example : LDAP_ENABLE=true
  331. #- LDAP_ENABLE=false
  332. #
  333. # LDAP_PORT : The port of the LDAP server
  334. # example : LDAP_PORT=389
  335. #- LDAP_PORT=389
  336. #
  337. # LDAP_HOST : The host server for the LDAP server
  338. # example : LDAP_HOST=localhost
  339. #- LDAP_HOST=
  340. #
  341. # LDAP_BASEDN : The base DN for the LDAP Tree
  342. # example : LDAP_BASEDN=ou=user,dc=example,dc=org
  343. #- LDAP_BASEDN=
  344. #
  345. # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method
  346. # example : LDAP_LOGIN_FALLBACK=true
  347. #- LDAP_LOGIN_FALLBACK=false
  348. #
  349. # LDAP_RECONNECT : Reconnect to the server if the connection is lost
  350. # example : LDAP_RECONNECT=false
  351. #- LDAP_RECONNECT=true
  352. #
  353. # LDAP_TIMEOUT : Overall timeout, in milliseconds
  354. # example : LDAP_TIMEOUT=12345
  355. #- LDAP_TIMEOUT=10000
  356. #
  357. # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds
  358. # example : LDAP_IDLE_TIMEOUT=12345
  359. #- LDAP_IDLE_TIMEOUT=10000
  360. #
  361. # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds
  362. # example : LDAP_CONNECT_TIMEOUT=12345
  363. #- LDAP_CONNECT_TIMEOUT=10000
  364. #
  365. # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search
  366. # example : LDAP_AUTHENTIFICATION=true
  367. #- LDAP_AUTHENTIFICATION=false
  368. #
  369. # LDAP_AUTHENTIFICATION_USERDN : The search user DN
  370. # example : LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org
  371. #- LDAP_AUTHENTIFICATION_USERDN=
  372. #
  373. # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user
  374. # example : AUTHENTIFICATION_PASSWORD=admin
  375. #- LDAP_AUTHENTIFICATION_PASSWORD=
  376. #
  377. # LDAP_LOG_ENABLED : Enable logs for the module
  378. # example : LDAP_LOG_ENABLED=true
  379. #- LDAP_LOG_ENABLED=false
  380. #
  381. # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background
  382. # example : LDAP_BACKGROUND_SYNC=true
  383. #- LDAP_BACKGROUND_SYNC=false
  384. #
  385. # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds
  386. # example : LDAP_BACKGROUND_SYNC_INTERVAL=12345
  387. #- LDAP_BACKGROUND_SYNC_INTERVAL=100
  388. #
  389. # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED :
  390. # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true
  391. #- LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false
  392. #
  393. # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS :
  394. # example : LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true
  395. #- LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false
  396. #
  397. # LDAP_ENCRYPTION : If using LDAPS
  398. # example : LDAP_ENCRYPTION=ssl
  399. #- LDAP_ENCRYPTION=false
  400. #
  401. # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file.
  402. # example : LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----
  403. #- LDAP_CA_CERT=
  404. #
  405. # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate
  406. # example : LDAP_REJECT_UNAUTHORIZED=true
  407. #- LDAP_REJECT_UNAUTHORIZED=false
  408. #
  409. # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed
  410. # example : LDAP_USER_SEARCH_FILTER=
  411. #- LDAP_USER_SEARCH_FILTER=
  412. #
  413. # 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)
  414. # example : LDAP_USER_SEARCH_SCOPE=one
  415. #- LDAP_USER_SEARCH_SCOPE=
  416. #
  417. # LDAP_USER_SEARCH_FIELD : Which field is used to find the user
  418. # example : LDAP_USER_SEARCH_FIELD=uid
  419. #- LDAP_USER_SEARCH_FIELD=
  420. #
  421. # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited)
  422. # example : LDAP_SEARCH_PAGE_SIZE=12345
  423. #- LDAP_SEARCH_PAGE_SIZE=0
  424. #
  425. # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited)
  426. # example : LDAP_SEARCH_SIZE_LIMIT=12345
  427. #- LDAP_SEARCH_SIZE_LIMIT=0
  428. #
  429. # LDAP_GROUP_FILTER_ENABLE : Enable group filtering
  430. # example : LDAP_GROUP_FILTER_ENABLE=true
  431. #- LDAP_GROUP_FILTER_ENABLE=false
  432. #
  433. # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering
  434. # example : LDAP_GROUP_FILTER_OBJECTCLASS=group
  435. #- LDAP_GROUP_FILTER_OBJECTCLASS=
  436. #
  437. # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE :
  438. # example :
  439. #- LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=
  440. #
  441. # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE :
  442. # example :
  443. #- LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=
  444. #
  445. # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT :
  446. # example :
  447. #- LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=
  448. #
  449. # LDAP_GROUP_FILTER_GROUP_NAME :
  450. # example :
  451. #- LDAP_GROUP_FILTER_GROUP_NAME=
  452. #
  453. # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier)
  454. # example : LDAP_UNIQUE_IDENTIFIER_FIELD=guid
  455. #- LDAP_UNIQUE_IDENTIFIER_FIELD=
  456. #
  457. # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8
  458. # example : LDAP_UTF8_NAMES_SLUGIFY=false
  459. #- LDAP_UTF8_NAMES_SLUGIFY=true
  460. #
  461. # LDAP_USERNAME_FIELD : Which field contains the ldap username
  462. # example : LDAP_USERNAME_FIELD=username
  463. #- LDAP_USERNAME_FIELD=
  464. #
  465. # LDAP_FULLNAME_FIELD : Which field contains the ldap fullname
  466. # example : LDAP_FULLNAME_FIELD=fullname
  467. #- LDAP_FULLNAME_FIELD=
  468. #
  469. # LDAP_MERGE_EXISTING_USERS :
  470. # example : LDAP_MERGE_EXISTING_USERS=true
  471. #- LDAP_MERGE_EXISTING_USERS=false
  472. #-----------------------------------------------------------------
  473. # LDAP_SYNC_USER_DATA :
  474. # example : LDAP_SYNC_USER_DATA=true
  475. #- LDAP_SYNC_USER_DATA=false
  476. #
  477. # LDAP_SYNC_USER_DATA_FIELDMAP :
  478. # example : LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"}
  479. #- LDAP_SYNC_USER_DATA_FIELDMAP=
  480. #
  481. # LDAP_SYNC_GROUP_ROLES :
  482. # example :
  483. #- LDAP_SYNC_GROUP_ROLES=
  484. #
  485. # 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
  486. # example :
  487. #- LDAP_DEFAULT_DOMAIN=
  488. #---------------------------------------------------------------------
  489. # ==== LOGOUT TIMER, probably does not work yet ====
  490. # LOGOUT_WITH_TIMER : Enables or not the option logout with timer
  491. # example : LOGOUT_WITH_TIMER=true
  492. #- LOGOUT_WITH_TIMER=
  493. #
  494. # LOGOUT_IN : The number of days
  495. # example : LOGOUT_IN=1
  496. #- LOGOUT_IN=
  497. #
  498. # LOGOUT_ON_HOURS : The number of hours
  499. # example : LOGOUT_ON_HOURS=9
  500. #- LOGOUT_ON_HOURS=
  501. #
  502. # LOGOUT_ON_MINUTES : The number of minutes
  503. # example : LOGOUT_ON_MINUTES=55
  504. #- LOGOUT_ON_MINUTES=
  505. #-------------------------------------------------------------------
  506.  
  507. depends_on:
  508. - wekandb
  509.  
  510. #---------------------------------------------------------------------------------
  511. # ==== OPTIONAL: SHARE DATABASE TO OFFICE LAN AND REMOTE VPN ====
  512. # When using Wekan both at office LAN and remote VPN:
  513. # 1) Have above Wekan docker container config with LAN IP address
  514. # 2) Copy all of above wekan container config below, look above of this part above and all config below it,
  515. # before above depends_on: part:
  516. #
  517. # wekan:
  518. # #-------------------------------------------------------------------------------------
  519. # # ==== MONGODB AND METEOR VERSION ====
  520. # # a) For Wekan Meteor 1.8.x version at meteor-1.8 branch, .....
  521. #
  522. #
  523. # and change name to different name like wekan2 or wekanvpn, and change ROOT_URL to server VPN IP
  524. # address.
  525. # 3) This way both Wekan containers can use same MongoDB database
  526. # and see the same Wekan boards.
  527. # 4) You could also add 3rd Wekan container for 3rd network etc.
  528. # EXAMPLE:
  529. # wekan2:
  530. # ....COPY CONFIG FROM ABOVE TO HERE...
  531. # environment:
  532. # - ROOT_URL='http://10.10.10.10'
  533. # ...COPY CONFIG FROM ABOVE TO HERE...
  534. #---------------------------------------------------------------------------------
  535.  
  536. # OPTIONAL NGINX CONFIG FOR REVERSE PROXY
  537. # nginx:
  538. # image: nginx
  539. # container_name: nginx
  540. # restart: always
  541. # networks:
  542. # - wekan-tier
  543. # depends_on:
  544. # - wekan
  545. # ports:
  546. # - 80:80
  547. # - 443:443
  548. # volumes:
  549. # - ./nginx/ssl:/etc/nginx/ssl/
  550. # - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  551.  
  552.  
  553. volumes:
  554. wekan-db:
  555. driver: local
  556. wekan-db-dump:
  557. driver: local
  558.  
  559. networks:
  560. wekan-tier:
  561. driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement