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.

88 lines
2.9 KiB

odoo:
charm: odoo-tecnativa
options:
admin-password: rantanplan
# docker-compose:
# ## Important to keep as a list: otherwise it'll overwrite charm's arguments.
# command:
# - "--log-level=debug"
# - "--workers=2" ## needed for long-polling
# environment:
# TOTO: TATA
# image: mynewimage
relations:
postgres-database:
postgres:
user: odoo
dbname: odoo
web-proxy:
frontend:
domain: mydomain.org
apache-custom-rules: |
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,QSA]
## Uncomment for longpolling (don't forget --workers>=1)
#ProxyPass /longpolling/ http://odoo:8072/longpolling/
#ProxyPassReverse /longpolling/ http://odoo:8072/longpolling/
ssl: letsencrypt
#server-aliases:
# - mydomain2.org
#
# ssl:
# ca-cert:
# -----BEGIN CERTIFICATE-----
# MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB
# iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl
# ...
# m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf
# BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM=
# -----END CERTIFICATE-----
# -----BEGIN CERTIFICATE-----
# MIIFdzCCBF+gAwIBAgIQE+oocFv07O0MNmMJgGFDNjANBgkqhkiG9w0BAQwFADBv
# MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk
# ...
# Le9Gclc1Bb+7RrtubTeZtv8jkpHGbkD4jylW6l/VXxRTrPBPYer3IsynVgviuDQf
# Jtl7GQVoP7o81DgGotPmjw7jtHFtQELFhLRAlSv0ZaBIefYdgWOWnU914Ph85I6p
# 0fKtirOMxyHNwu8=
# -----END CERTIFICATE-----
# cert: |
# -----BEGIN CERTIFICATE-----
# MIIF/TCCBOWgAwIBAgIRALUydpTpCApfYMuJchDJv5AwDQYJKoZIhvcNAQELBQAw
# XzELMAkGA1UEBhMCRlIxDjAMBgNVBAgTBVBhcmlzMQ4wDAYDVQQHEwVQYXJpczEO
# ...
# lIxY9HJanHrWvjiz7+eToxXpZJtAPXTx5hxzcJrtWROlq7IJCMIhzr/EVA37jTCk
# Xs5S6mr0T6Dqx6MQkPATSsEEJlLH5wq3DxXQcrMqnM/WHMRYUCkoTl37sXplflHe
# jw==
# -----END CERTIFICATE-----
# key: |
# -----BEGIN PRIVATE KEY-----
# MIIJRQIBADANBgkqhkiG9w0BAQEFAASCCS8wggkrAgEAAoICAQDONqqTCS4CiSi/
# XeNpp2nUsq1299spGc7mlRs+PDrXNHscB5lUB5/yo2yEetYXrJacQ8n4NV9hkID5
# ...
# 44eHDYsofcnRbidGR+QT8PQgiiDNCkbpi2u4QnLTs0w4oW+53ZTyHYEYF2rcLbIb
# vRt4kR4KG6ULXrmsRA4WQjBDJ9vZw2aK+w==
# -----END PRIVATE KEY-----
frontend:
charm: apache
relations:
letsencrypt-dns:
letsencrypt
letsencrypt:
options:
email: admin@0k.io
ovh:
## see: https://api.ovh.com/g934.first_step_with_api
entrypoint: ovh-eu
application:
key: XXX
secret: YYY
consumer_key: ZZZ