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.

146 lines
4.2 KiB

6 years ago
6 years ago
  1. odoo:
  2. charm: odoo-tecnativa
  3. # docker-compose:
  4. # ## Important to keep as a list: otherwise it'll overwrite charm's arguments.
  5. # command:
  6. # - "--log-level=debug"
  7. # environment:
  8. # TOTO: TATA
  9. # image: mynewimage
  10. # options:
  11. # workers: 4
  12. relations:
  13. web-proxy:
  14. frontend:
  15. domain: mydomain.org
  16. # server-aliases:
  17. # - mydomain2.org
  18. # - mydomain3.org
  19. # apache-custom-rules:
  20. # - |
  21. # ## Apache special rules ?
  22. # #
  23. # ssl:
  24. # letsencrypt:
  25. # challenge-type: http ## if 'dns', be sure to prepare 'env' correctly
  26. # # env:
  27. # # ovh:
  28. # # ## see: https://api.ovh.com/g934.first_step_with_api
  29. # # entrypoint: ovh-eu
  30. # # application:
  31. # # key: XXX
  32. # # secret: YYY
  33. # # consumer_key: ZZZ
  34. # ssl: true ## simple auto-signed SSL certificates
  35. # ssl:
  36. # ca-cert:
  37. # -----BEGIN CERTIFICATE-----
  38. # MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB
  39. # ...
  40. # BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM=
  41. # -----END CERTIFICATE-----
  42. # -----BEGIN CERTIFICATE-----
  43. # MIIFdzCCBF+gAwIBAgIQE+oocFv07O0MNmMJgGFDNjANBgkqhkiG9w0BAQwFADBv
  44. # ...
  45. # 0fKtirOMxyHNwu8=
  46. # -----END CERTIFICATE-----
  47. # cert: |
  48. # -----BEGIN CERTIFICATE-----
  49. # MIIF/TCCBOWgAwIBAgIRALUydpTpCApfYMuJchDJv5AwDQYJKoZIhvcNAQELBQAw
  50. # ...
  51. # Xs5S6mr0T6Dqx6MQkPATSsEEJlLH5wq3DxXQcrMqnM/WHMRYUCkoTl37sXplflHe
  52. # jw==
  53. # -----END CERTIFICATE-----
  54. # key: |
  55. # -----BEGIN PRIVATE KEY-----
  56. # MIIJRQIBADANBgkqhkiG9w0BAQEFAASCCS8wggkrAgEAAoICAQDONqqTCS4CiSi/
  57. # ...
  58. # vRt4kR4KG6ULXrmsRA4WQjBDJ9vZw2aK+w==
  59. # -----END PRIVATE KEY-----
  60. frontend:
  61. charm: apache
  62. # options:
  63. # ## Check 0k-charms/apache/README.rst for client side configuration
  64. # ## to use ssh-tunnel.
  65. # ssh-tunnel:
  66. # domain: ssh.mydomain.org ## mandatory
  67. # # server-aliases:
  68. # # - ssh2.daowen.eu
  69. # #ssl: letsencrypt
  70. ## XXXvlab: this is still necessary (although it is auto connected
  71. ## in most cases) but we require it on some occasion (namely "run"
  72. ## actions on odoo for instance) until we decide a way to tackle
  73. ## this issue, the best thing is to keep that here
  74. relations:
  75. cert-provider: letsencrypt
  76. ## Warnin py3o-fusion is particularly heavy (3 images coming from ubuntu:18.04,
  77. ## with full libreoffice)
  78. #py3o-fusion:
  79. letsencrypt:
  80. options:
  81. email: admin@0k.io
  82. ## General configuration for this service will be applied to all linked
  83. ## services.
  84. # env:
  85. # ovh:
  86. # ## see: https://api.ovh.com/g934.first_step_with_api
  87. # entrypoint: ovh-eu
  88. # application:
  89. # key: XXX
  90. # secret: YYY
  91. # consumer_key: ZZZ
  92. logrotate:
  93. # mattermost.mydomain.org:
  94. # charm: mattermost
  95. # bitwarden.mydomain.org:
  96. # charm: bitwarden
  97. # ftp.mydomain.org:
  98. # charm: vsftp
  99. # options:
  100. # #domain: ftp.mydomain.org ## set domain if service name is not already a domain
  101. # #ssl: false ## deactivate ssl (activated if letsencrypt available)
  102. # #pasv: false ## deactivate pasv (activated if domain found)
  103. # users:
  104. # foo:
  105. # password: bar
  106. # groups:
  107. # - my_group
  108. # wiz:
  109. # uid: 3000
  110. nextcloud:
  111. options:
  112. ## If not set, it'll be automatically created and stored in
  113. ## configstore /etc/nextcloud/user_pass
  114. ## You can set it afterwards without issue (password will then be changed
  115. ## to value specified) for the user 'admin'.
  116. admin-password: mypass
  117. ## Or you could alternatively want to use this way:
  118. #admin:
  119. # ## Changing user will create a new user and NOT delete previous user
  120. # #user: admin
  121. # password: XXXXXX
  122. relations:
  123. web-proxy:
  124. frontend:
  125. domain: drive.mydomain.org
  126. onlyoffice:
  127. relations:
  128. web-proxy:
  129. frontend:
  130. domain: onlyoffice.mydomain.org