What is Odoo?
Odoo is the open-source business suite that actually spans the business: CRM, sales, inventory, accounting, manufacturing, projects, HR, a website builder, and ecommerce, all sharing one data model, with a large app store on top. The Community edition (LGPL-3) is genuinely capable on its own.
This template runs Odoo 18 on a managed Postgres in threaded mode, which keeps websockets and live chat on a single HTTP port - so the whole thing serves from :5000 with no second longpolling port to route. A thin entrypoint writes Odoo’s config from env (the master password has no env var upstream), keeping the secret out of the image.
Odoo Online charges per user per month ($38.90 Standard, $76.20 Custom); Community self-hosted is unlimited users, not priced per user - you trade Enterprise-only modules and official support for that.
What you get
- CRM, sales, inventory, accounting, projects, manufacturing, HR
- Website builder and ecommerce included
- Large community app store
- Managed Postgres; threaded mode = single public port
- Master password via generated config (no secret baked in)
- LGPL-3 Community edition
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
odoo | web + all apps (:5000, threaded) | yes |
db | Postgres - real container locally, **managed Postgres on Lyngbak** | no |
Before you deploy
ODOO_ADMIN_PASSWORDmaster password (gates DB create/drop/backup)
ODOO_LIST_DBFalse if the managed Postgres role can’t CREATEDB (pre-create one DB)
Sizing and billing
Odoo is RAM-hungry: 2 GiB+ is the realistic floor. Kept in threaded mode (workers=0) so it stays on one public port; heavy multiprocessing needs a two-port proxy, out of scope here.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 16.72 GiB of volumes cost $0.15 per GiB a month ($2.51/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Odoo Online | Standard | $389/mo | $38.90/user/mo (monthly) at 10 users; $31.10 annual |
| Odoo Online | Custom | $762/mo | $76.20/user/mo at 10 users - adds Studio, multi-company, external API |
Community self-hosted is unlimited users; you trade Enterprise-only apps and official support for no per-user fee. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does this compare to Odoo Online pricing?
Odoo Online is per-user: Standard and Custom are both priced per user per month, so the bill scales with headcount. Community self-hosted here has unlimited users and no per-user fee. You give up Enterprise-only apps (some accounting/studio features) and official support.
Why is it pinned to Odoo 18, and why threaded mode?
The odoo image’s latest tag moved to 19 - pinning 18 prevents a surprise major upgrade. Threaded mode (workers=0) keeps websockets/livechat on the single HTTP port, so it fits the one-public-port model; multiprocessing splits websockets onto port 8072 and needs a two-port-aware proxy.
What is the database-manager caveat?
Odoo’s web DB-manager (create/drop databases) needs a Postgres role with CREATEDB. If the managed role lacks it, pre-create one database and set ODOO_LIST_DB=False - the running app needs no special privileges.