docker-compose.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. version: '2'
  2. services:
  3. wekandb:
  4. image: mongo:3.2.20
  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. - 80:8080
  34. environment:
  35. - MONGO_URL=mongodb://wekandb:27017/wekan
  36. - ROOT_URL=http://localhost
  37. # Wekan Export Board works when WITH_API='true'.
  38. # If you disable Wekan API with 'false', Export Board does not work.
  39. - WITH_API=true
  40. # Optional: Integration with Matomo https://matomo.org that is installed to your server
  41. # The address of the server where Matomo is hosted:
  42. # - MATOMO_ADDRESS=https://example.com/matomo
  43. # The value of the site ID given in Matomo server for Wekan
  44. # - MATOMO_SITE_ID=123456789
  45. # The option do not track which enables users to not be tracked by matomo"
  46. # - MATOMO_DO_NOT_TRACK=false
  47. # The option that allows matomo to retrieve the username:
  48. # - MATOMO_WITH_USERNAME=true
  49. # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
  50. # Setting this to false is not recommended, it also disables all other browser policy protections
  51. # and allows all iframing etc. See wekan/server/policy.js
  52. - BROWSER_POLICY_ENABLED=true
  53. # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
  54. - TRUSTED_URL=''
  55. depends_on:
  56. - wekandb
  57. volumes:
  58. wekan-db:
  59. driver: local
  60. wekan-db-dump:
  61. driver: local
  62. networks:
  63. wekan-tier:
  64. driver: bridge