Compare commits

...
Author SHA1 Message Date
Mauricio SiuandClaude Fable 5 ff1fdc1f2a fix(odoo_17, odoo_18): provide odoo.conf via config mount and enable proxy_mode
Same root cause as odoo_19 (#1108, fixed in #1110): the compose file
bind-mounts ../files/config over /etc/odoo, but with mounts = [] the
directory is empty, hiding the image's /etc/odoo/odoo.conf. As a result
wait-for-psql.py crashes with configparser.NoSectionError: No section:
'options' and the web container never starts.

Ship odoo.conf through the template config mount instead, with
proxy_mode enabled so websocket/POS/livechat work behind Traefik.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-30 16:43:50 -06:00
2 changed files with 18 additions and 2 deletions
+9 -1
View File
@@ -3,9 +3,17 @@ main_domain = "${domain}"
[config]
env = {}
mounts = []
[[config.domains]]
serviceName = "web"
port = 8_069
host = "${main_domain}"
[[config.mounts]]
filePath = "config/odoo.conf"
content = """
[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
proxy_mode = True
"""
+9 -1
View File
@@ -3,9 +3,17 @@ main_domain = "${domain}"
[config]
env = {}
mounts = []
[[config.domains]]
serviceName = "web"
port = 8_069
host = "${main_domain}"
[[config.mounts]]
filePath = "config/odoo.conf"
content = """
[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
proxy_mode = True
"""