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.

75 lines
1.5 KiB

9 years ago
  1. ##
  2. ## Links deployable services
  3. ##
  4. ## Syntax:
  5. ## <SERVICE>:
  6. ## charm: <CHARM> # optional: defaults to charm of same name
  7. ## link:
  8. ## <RELATION>: <CHARM> # or:
  9. ## <RELATION>:
  10. ## <SERVICE>:
  11. ## <YML RELATION'S CONFIGURATION>
  12. ##
  13. ## launching up a SERVICE, will spawn required SERVICES for given linked RELATIONS.
  14. ## if SERVICE has no definition here AND has a charm with no requirements, it'll be
  15. ## spawned on itself as if a unwritten empty SERVICE definition existed:
  16. ##
  17. ## <SERVICE>:
  18. ##
  19. enquetes:
  20. charm: enquetes
  21. link:
  22. publish-dir:
  23. apache:
  24. source: git:$MAIN_GIT/enquete
  25. branch: master
  26. location: /opt/apps/limesurvey
  27. data_dirs:
  28. - tmp
  29. - upload
  30. domain: enquetes.$MAIN_DOMAIN
  31. mysql-database:
  32. mysql:
  33. user: lmenquete
  34. dbname: lmenquete
  35. fo:
  36. charm: formanoo_nfo
  37. link:
  38. publish-dir:
  39. apache:
  40. source: git:$MAIN_GIT/formanoo_nfo
  41. branch: master
  42. location: /opt/apps/formanoo_nfo
  43. data_dirs:
  44. - assets/eclasseurs
  45. - assets/mpdf/tmp
  46. - api/v1/mpdf/tmp
  47. - users
  48. domain: www.$MAIN_DOMAIN
  49. postgres-database:
  50. postgres:
  51. user: formanoo_nfo
  52. dbname: formanoo_nfo
  53. bo:
  54. charm: odoo
  55. link:
  56. pg-database:
  57. postgres:
  58. user: odoo
  59. dbname: extranet
  60. web-proxy: apache
  61. birt-reports: birt
  62. monitor:
  63. charm: facette
  64. link:
  65. web-proxy:
  66. domain: monitor.${MAIN_DOMAIN}