Odoo deployment and hosting

Running Odoo on your own Linux servers, in Docker or on Odoo.sh: installation methods, the multi-processing server, reverse proxies, databases and the network access a self-hosted install needs.

Setting up a production Odoo server on Ubuntu or Debian

A production build on Ubuntu or Debian from Odoo's packages or source: PostgreSQL user and permissions, wkhtmltopdf 0.12.6, the odoo.conf file, systemd service, multi-processing workers and the first hardening steps before go-live.

Running Odoo in production with Docker and Docker Compose

Using the official odoo image with a PostgreSQL container: named volumes for the filestore and database, a custom odoo.conf mounted at /etc/odoo, extra addons, image tags per major version, and why the container defaults to the multi-threaded server.

Running Odoo Enterprise in Docker

How teams run Enterprise without an official Enterprise image: mounting the Enterprise addons into the community image or building their own image, activating the subscription, and keeping images in step with Odoo's nightly builds.

Odoo behind Nginx with SSL, proxy mode and websockets

The documented Nginx setup in detail: HTTP to HTTPS redirect, upstreams for ports 8069 and 8072, the /websocket location, proxy_mode, X-Forwarded headers, timeouts, HSTS and Secure SameSite cookie flags for the session.

Running Odoo with PostgreSQL on a separate server

Splitting the database tier: pg_hba.conf and listen_addresses changes, the db_host and db_sslmode options, a non-superuser database role with databases owned by another role, and connection limits for multi-worker setups.

Odoo.sh projects, branches and the GitHub workflow

How Odoo.sh works for teams with custom code: GitHub repository and webhook, production, staging and development branches, builds and neutralized staging databases, storage needed for imports, and SSH access.

Serving Odoo static files and attachments from Nginx

Taking file traffic off Odoo workers: Nginx locations for module static folders, X-Accel with the --x-sendfile flag for filestore attachments after Odoo checks access, cache headers and Content-Security-Policy for images.

Running Odoo on ARM64 servers

Deploying Odoo on ARM64 cloud instances or hardware with the arm64v8 build of the official Docker image or a source install, plus checks for wkhtmltopdf and Python dependencies on ARM.

Self-hosted Odoo in restricted or air-gapped networks

What a firewalled Odoo server still needs to reach and what stops working without it: the upgrade service script, in-app purchase services such as SMS and OCR, bank synchronization, payment and shipping APIs, and Odoo's outbound default-deny advice.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.