fork 0k-charms
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.

53 lines
1.5 KiB

  1. name: etherpad
  2. summary: "Etherpad-lite server"
  3. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  4. inherit: base-0k
  5. ## Custom built from git 1.8.14 https://github.com/ether/etherpad-lite with
  6. ## build arg --build-arg INSTALL_SOFFICE=1
  7. docker-image: docker.0k.io/etherpad:1.8.14-soffice ## custom built from git m etherpad/etherpad
  8. description: |
  9. Etherpad-lite service.
  10. data-resources:
  11. - /var/lib/etherpad
  12. docker-compose:
  13. command: node src/node/server.js --apikey /var/lib/etherpad/APIKEY.txt
  14. environment:
  15. SOFFICE: '/usr/bin/soffice'
  16. uses:
  17. postgres-database:
  18. #constraint: required | recommended | optional
  19. #auto: pair | summon | none ## default: pair
  20. constraint: required
  21. auto: summon
  22. solves:
  23. database: "main storage"
  24. default-options:
  25. extensions:
  26. - unaccent
  27. web-proxy:
  28. #constraint: required | recommended | optional
  29. #auto: pair | summon | none ## default: pair
  30. constraint: recommended
  31. auto: pair
  32. solves:
  33. proxy: "Public access"
  34. default-options:
  35. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:9001
  36. backup:
  37. constraint: recommended
  38. auto: pair
  39. solves:
  40. backup: "Automatic regular backup"
  41. default-options:
  42. ## First pattern matching wins, no pattern matching includes.
  43. ## include-patterns are checked first, then exclude-patterns
  44. ## Patterns rules:
  45. ## - ending / for directory
  46. ## - '*' authorized
  47. ## - must start with a '/', will start from $SERVICE_DATASTORE
  48. #exclude-patterns:
  49. # - "/var/lib/odoo/sessions/"