3 Commits
Author SHA1 Message Date
1bspace-os rebrand 6e7be43dc8 feat(codespace): replace broken odoo-image blueprint with python:3.12-slim pattern
The previous blueprint (upstream odoo/docker:19.0 + COPY + deploy.command)
systematically broke inside Easypanel's inline-dockerfile build context:
  - COPY files not available
  - wkhtmltopdf/libldap-2.5-0 package names absent from Debian bookworm
  - Easypanel wrapped deploy.command with 'python -c …' → exit 100
  - postgres password / app env set separately → mismatch auth failure
  - cat > /etc/odoo/odoo.conf without parent dir → ENOENT

The new blueprint is what actually ran in production for 34h+ stable:
  - FROM python:3.12-slim with an inline ENTRYPOINT (no CMD wrapping)
  - init-odoo.sh: apt install build deps then pip install /mnt/os-dev
    (idempotent — skipped if import odoo works, restarts < 1 s)
  - --dev=reload,qweb,assets,xml,werkzeug baked into exec odoo
  - mkdir -p /etc/odoo /var/lib/odoo /var/log/odoo before writing odoo.conf
  - Single createFromSchema call → shared password for postgres + app
  - Bind-mount os-dev → /mnt/os-dev → hot-reload on any host edit

deploy.py prepare writes easypanel.schema.json + init-odoo.sh +
inline.Dockerfile + .db_password, all ready for TRAE Easypanel MCP
createFromSchema + deployAppService. Verified end-to-end (HTTP 200 on
/web/database/manager, hot-reload on release.py product_name edit,
CREATE DATABASE via psycopg2 + odoo UI Create Database).

Docs:
  - README.md rewritten with new layout table, troubleshooting
    playbook, daily workflow, verified-state reference table,
    old-vs-new blueprint comparison table.
2026-09-14 22:59:46 +00:00
1b-agent fff19a9e17 feat: stateless hot-reload Odoo 19 dev workspace for onebspace
- 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
2026-08-30 18:55:00 +00:00
1b-agent 2b34aec75c Initial commit 2026-08-30 18:52:11 +00:00