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.

108 lines
3.6 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. odoo:
  2. charm: odoo-tecnativa
  3. options:
  4. admin-password: rantanplan
  5. # docker-compose:
  6. # ## Important to keep as a list: otherwise it'll overwrite charm's arguments.
  7. # command:
  8. # - "--log-level=debug"
  9. # - "--workers=2" ## needed for long-polling
  10. # environment:
  11. # TOTO: TATA
  12. # image: mynewimage
  13. relations:
  14. postgres-database:
  15. postgres:
  16. user: odoo
  17. dbname: odoo
  18. web-proxy:
  19. frontend:
  20. domain: mydomain.org
  21. apache-custom-rules: |
  22. RewriteEngine On
  23. RewriteCond %{HTTPS} off
  24. RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,QSA]
  25. ## Uncomment for longpolling (don't forget --workers>=1)
  26. #ProxyPass /longpolling/ http://odoo:8072/longpolling/
  27. #ProxyPassReverse /longpolling/ http://odoo:8072/longpolling/
  28. ssl: letsencrypt
  29. #server-aliases:
  30. # - mydomain2.org
  31. #
  32. # ssl:
  33. # ca-cert:
  34. # -----BEGIN CERTIFICATE-----
  35. # MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB
  36. # iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl
  37. # ...
  38. # m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf
  39. # BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM=
  40. # -----END CERTIFICATE-----
  41. # -----BEGIN CERTIFICATE-----
  42. # MIIFdzCCBF+gAwIBAgIQE+oocFv07O0MNmMJgGFDNjANBgkqhkiG9w0BAQwFADBv
  43. # MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk
  44. # ...
  45. # Le9Gclc1Bb+7RrtubTeZtv8jkpHGbkD4jylW6l/VXxRTrPBPYer3IsynVgviuDQf
  46. # Jtl7GQVoP7o81DgGotPmjw7jtHFtQELFhLRAlSv0ZaBIefYdgWOWnU914Ph85I6p
  47. # 0fKtirOMxyHNwu8=
  48. # -----END CERTIFICATE-----
  49. # cert: |
  50. # -----BEGIN CERTIFICATE-----
  51. # MIIF/TCCBOWgAwIBAgIRALUydpTpCApfYMuJchDJv5AwDQYJKoZIhvcNAQELBQAw
  52. # XzELMAkGA1UEBhMCRlIxDjAMBgNVBAgTBVBhcmlzMQ4wDAYDVQQHEwVQYXJpczEO
  53. # ...
  54. # lIxY9HJanHrWvjiz7+eToxXpZJtAPXTx5hxzcJrtWROlq7IJCMIhzr/EVA37jTCk
  55. # Xs5S6mr0T6Dqx6MQkPATSsEEJlLH5wq3DxXQcrMqnM/WHMRYUCkoTl37sXplflHe
  56. # jw==
  57. # -----END CERTIFICATE-----
  58. # key: |
  59. # -----BEGIN PRIVATE KEY-----
  60. # MIIJRQIBADANBgkqhkiG9w0BAQEFAASCCS8wggkrAgEAAoICAQDONqqTCS4CiSi/
  61. # XeNpp2nUsq1299spGc7mlRs+PDrXNHscB5lUB5/yo2yEetYXrJacQ8n4NV9hkID5
  62. # ...
  63. # 44eHDYsofcnRbidGR+QT8PQgiiDNCkbpi2u4QnLTs0w4oW+53ZTyHYEYF2rcLbIb
  64. # vRt4kR4KG6ULXrmsRA4WQjBDJ9vZw2aK+w==
  65. # -----END PRIVATE KEY-----
  66. frontend:
  67. charm: apache
  68. relations:
  69. letsencrypt-dns:
  70. letsencrypt
  71. letsencrypt:
  72. options:
  73. email: admin@0k.io
  74. ovh:
  75. ## see: https://api.ovh.com/g934.first_step_with_api
  76. entrypoint: ovh-eu
  77. application:
  78. key: XXX
  79. secret: YYY
  80. consumer_key: ZZZ
  81. # mattermost:
  82. # charm: mattermost
  83. # relations:
  84. # web-proxy:
  85. # frontend:
  86. # domain: mattermost.local ## <-- modify this
  87. # ssl: letsencrypt
  88. # apache-custom-rules: |
  89. # ProxyPreserveHost On
  90. #
  91. # # Set web sockets
  92. # RewriteEngine On
  93. # RewriteCond %{REQUEST_URI} /api/v[0-9]+/(users/)?websocket [NC,OR]
  94. # RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR]
  95. # RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
  96. # RewriteRule .* ws://mattermost:8000%{REQUEST_URI} [P,QSA,L]
  97. # postgres-database:
  98. # postgres:
  99. # user: mattermost
  100. # dbname: mattermost