1.7 KiB
1.7 KiB
title, author, state, date_completed, harness, model, input_tokens, output_tokens
| title | author | state | date_completed | harness | model | input_tokens | output_tokens |
|---|---|---|---|---|---|---|---|
| Odoo 20.0 https interface param | Janik von Rotz <login@janikvonrotz.ch> | completed | 2026-10-13 | pi | moonshotai/Kimi-K2.6 | 24524 | 4075 |
Odoo 20.0 https interface param
Note: @Clanker refers to the "ai agent" (you) who is working on this prompt file.
@Clanker when working on this prompt file, make sure to:
- Read context and task section first
- Prepare a list of todos
- Update the todo list while working on task
Context
@Clanker Read the AGENTS.md and README.md to get an understanding of the project.
Task
Currently I have --http-interface=0.0.0.0 in my compose.yml.template to start Odoo 20.0.
Instead I would like to have this param as default in the image images/odoo/entrypoint.sh.
If I understand correctly this param cannot be configured in odoo.conf or as an enviroment var. Double-check.
I want you to add a env var HTTP_INTERACE with 0.0.0.0 as default. Document this env var in images/odoo/README.md. Add before PROXY_MODE.
Then remove the param from the compose template.
I will build and test the image.
Worklog
- Verified that
--http-interfaceis a command-line only option in Odoo (not supported inodoo.conf). - Added
HTTP_INTERFACE=${HTTP_INTERFACE:='0.0.0.0'}toimages/odoo/entrypoint.shand passed it as--http-interface="${HTTP_INTERFACE}"to allexec odooinvocations (except scaffold). - Documented
HTTP_INTERFACEinimages/odoo/README.mdin both the compose example and the Server Environment section, placed beforePROXY_MODE. - Removed
--http-interface=0.0.0.0fromcompose.yml.templateand addedHTTP_INTERFACE: ${HTTP_INTERFACE}to the environment section beforePROXY_MODE.