docker-compose.yml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. # 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. depends_on:
  61. - wekandb
  62. volumes:
  63. wekan-db:
  64. driver: local
  65. wekan-db-dump:
  66. driver: local
  67. networks:
  68. wekan-tier:
  69. driver: bridge