- Dockerfile: verbatim upstream odoo/docker 19.0 + pip install requirements.txt - easypanel.schema.json: source.type=dockerfile with inline Dockerfile - deploy.py: calls Easypanel tRPC API directly (bypass MCP that only supports image) - .gitea/workflows/build.yml: optional Gitea Actions CI - README.md: full research + reproduction steps
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
; =============================================================================
|
|
; Odoo 19 dev config — baked into the image. Overridable via bind mount.
|
|
;
|
|
; In dev: docker-compose mounts ./odoo.conf -> /etc/odoo/odoo.conf, so this
|
|
; baked-in copy is shadowed. In CI / prod without a bind mount, this is the
|
|
; config Odoo uses.
|
|
; =============================================================================
|
|
|
|
[options]
|
|
addons_path = /mnt/os-dev/addons,/mnt/os-dev/odoo/addons,/mnt/extra-addons
|
|
data_dir = /var/lib/odoo
|
|
|
|
; ---- Hot reload (THE WHOLE POINT) ------------------------------------------
|
|
; Full live-reload mode: Python (watchdog), QWeb templates, JS/CSS assets,
|
|
; XML view files, and werkzeug in-browser tracebacks.
|
|
dev_mode = reload,qweb,assets,xml,werkzeug
|
|
|
|
; ---- Network --------------------------------------------------------------
|
|
xmlrpc_port = 8069
|
|
; longpolling_port = 8072
|
|
; proxy_mode = True
|
|
|
|
; ---- Database -------------------------------------------------------------
|
|
; Connection params come from the entrypoint via env vars (HOST/PORT/USER/
|
|
; PASSWORD). Don't set db_host/db_port/db_user/db_password here.
|
|
dbfilter = .*
|
|
list_db = True
|
|
|
|
; ---- Logging --------------------------------------------------------------
|
|
log_level = info
|
|
|
|
; ---- Workers (single-worker = safest for hot reload) -----------------------
|
|
workers = 0
|
|
|
|
; ---- Limits ---------------------------------------------------------------
|
|
limit_memory_hard = 2684354560
|
|
limit_memory_soft = 2147483648
|
|
limit_request = 8192
|
|
limit_time_cpu = 60
|
|
limit_time_real = 120
|
|
|
|
; ---- Admin ----------------------------------------------------------------
|
|
admin_passwd = admin
|