docker-compose.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. version: '2'
  2. services:
  3. wekandb:
  4. image: mongo:3.2.21
  5. container_name: wekan-db
  6. restart: always
  7. command: mongod --smallfiles --oplogSize 128
  8. networks:
  9. - wekan-tier
  10. expose:
  11. - 27017
  12. volumes:
  13. - wekan-db:/data/db
  14. - wekan-db-dump:/dump
  15. wekan:
  16. image: quay.io/wekan/wekan
  17. container_name: wekan-app
  18. restart: always
  19. networks:
  20. - wekan-tier
  21. build:
  22. context: .
  23. dockerfile: Dockerfile
  24. args:
  25. - NODE_VERSION=${NODE_VERSION}
  26. - METEOR_RELEASE=${METEOR_RELEASE}
  27. - NPM_VERSION=${NPM_VERSION}
  28. - ARCHITECTURE=${ARCHITECTURE}
  29. - SRC_PATH=${SRC_PATH}
  30. - METEOR_EDGE=${METEOR_EDGE}
  31. - USE_EDGE=${USE_EDGE}
  32. ports:
  33. # Docker outsideport:insideport
  34. - 80:8080
  35. environment:
  36. - MONGO_URL=mongodb://wekandb:27017/wekan
  37. - ROOT_URL=http://localhost
  38. # Wekan Export Board works when WITH_API='true'.
  39. # If you disable Wekan API with 'false', Export Board does not work.
  40. - WITH_API=true
  41. # Optional: Integration with Matomo https://matomo.org that is installed to your server
  42. # The address of the server where Matomo is hosted.
  43. # example: - MATOMO_ADDRESS=https://example.com/matomo
  44. - MATOMO_ADDRESS=''
  45. # The value of the site ID given in Matomo server for Wekan
  46. # example: - MATOMO_SITE_ID=12345
  47. - MATOMO_SITE_ID=''
  48. # The option do not track which enables users to not be tracked by matomo
  49. # example: - MATOMO_DO_NOT_TRACK=false
  50. - MATOMO_DO_NOT_TRACK=true
  51. # The option that allows matomo to retrieve the username:
  52. # example: MATOMO_WITH_USERNAME=true
  53. - MATOMO_WITH_USERNAME=false
  54. # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
  55. # Setting this to false is not recommended, it also disables all other browser policy protections
  56. # and allows all iframing etc. See wekan/server/policy.js
  57. - BROWSER_POLICY_ENABLED=true
  58. # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
  59. - TRUSTED_URL=''
  60. # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId .
  61. # example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
  62. - WEBHOOKS_ATTRIBUTES=''
  63. # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
  64. # OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345
  65. # example: OAUTH2_CLIENT_ID=abcde12345
  66. - OAUTH2_CLIENT_ID=''
  67. # OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde
  68. # example: OAUTH2_SECRET=54321abcde
  69. - OAUTH2_SECRET=''
  70. # OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com
  71. # example: OAUTH2_SERVER_URL=https://chat.example.com
  72. - OAUTH2_SERVER_URL=''
  73. # OAuth2 Authorization Endpoint. Example: /oauth/authorize
  74. # example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize
  75. - OAUTH2_AUTH_ENDPOINT=''
  76. # OAuth2 Userinfo Endpoint. Example: /oauth/userinfo
  77. # example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
  78. - OAUTH2_USERINFO_ENDPOINT=''
  79. # OAuth2 Token Endpoint. Example: /oauth/token
  80. # example: OAUTH2_TOKEN_ENDPOINT=/oauth/token
  81. - OAUTH2_TOKEN_ENDPOINT=''
  82. depends_on:
  83. - wekandb
  84. volumes:
  85. wekan-db:
  86. driver: local
  87. wekan-db-dump:
  88. driver: local
  89. networks:
  90. wekan-tier:
  91. driver: bridge