docker-compose.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. depends_on:
  50. - wekandb
  51. volumes:
  52. wekan-db:
  53. driver: local
  54. wekan-db-dump:
  55. driver: local
  56. networks:
  57. wekan-tier:
  58. driver: bridge