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.

63 lines
1.7 KiB

  1. docker-image: nabo.codimd.dev/hackmdio/hackmd:2.2.0
  2. data-resources:
  3. - /home/hackmd/app/public/uploads
  4. # config-resources:
  5. # ## XXXvlab: should this be there or declared dynamically in the relation that
  6. # ## create/update this file ?
  7. # # - /etc/odoo-server.conf
  8. # docker-compose:
  9. # command:
  10. # - odoo
  11. # - --config=/opt/odoo/auto/odoo.conf
  12. ## YYYvlab: useful ?
  13. # tty: true
  14. # environment:
  15. # INITIAL_LANG: fr_FR
  16. # LIST_DB: 'true'
  17. default-options:
  18. uses:
  19. postgres-database:
  20. #constraint: required | recommended | optional
  21. #auto: pair | summon | none ## default: pair
  22. constraint: required
  23. auto: summon
  24. solves:
  25. database: "main storage"
  26. default-options:
  27. extensions:
  28. - unaccent
  29. log-rotate:
  30. #constraint: required | recommended | optional
  31. #auto: pair | summon | none ## default: pair
  32. constraint: recommended
  33. auto: pair
  34. solves:
  35. unmanaged-logs: "in docker logs"
  36. #default-options:
  37. web-proxy:
  38. #constraint: required | recommended | optional
  39. #auto: pair | summon | none ## default: pair
  40. constraint: recommended
  41. auto: pair
  42. solves:
  43. proxy: "Public access"
  44. default-options:
  45. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:3000
  46. backup:
  47. constraint: recommended
  48. auto: pair
  49. solves:
  50. backup: "Automatic regular backup"
  51. default-options:
  52. ## First pattern matching wins, no pattern matching includes.
  53. ## include-patterns are checked first, then exclude-patterns
  54. ## Patterns rules:
  55. ## - ending / for directory
  56. ## - '*' authorized
  57. ## - must start with a '/', will start from $SERVICE_DATASTORE
  58. #exclude-patterns:
  59. # - "/var/lib/odoo/sessions/"