You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
694 B

  1. version: '2'
  2. services:
  3. cryptpad:
  4. build:
  5. context: .
  6. args:
  7. - VERSION=${VERSION}
  8. image: "xwiki/cryptpad:${VERSION}"
  9. hostname: cryptpad
  10. labels:
  11. - traefik.port=3000
  12. - traefik.frontend.passHostHeader=true
  13. environment:
  14. - USE_SSL=${USE_SSL}
  15. - STORAGE=${STORAGE}
  16. - LOG_TO_STDOUT=${LOG_TO_STDOUT}
  17. ports:
  18. - "3000:3000"
  19. - "3001:3001"
  20. restart: always
  21. volumes:
  22. - ./data/files:/cryptpad/datastore:rw
  23. - ./data/customize:/cryptpad/customize:rw
  24. - ./data/blob:/cryptpad/blob:rw
  25. - ./data/block:/cryptpad/block:rw
  26. - ./data/config:/cryptpad/cfg:rw
  27. - ./data/data:/cryptpad/data:rw