Levelrail
Skip to content

Self-host Odoo with Docker ​

An all-in-one business suite covering CRM, sales, inventory, accounting, and a website builder.

This page describes the Levelrail template for Odoo (Applications). It deploys the services below as one Docker Compose app on your own server.

Project site: https://www.odoo.com/documentation.

Recommended memory: about 2048 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
odoo_db_data -> /var/lib/postgresql/data
odooodoo:188069
odoo_web_data -> /var/lib/odoo
odoo_addons -> /mnt/extra-addons

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
odooHOSTPreset in the template
odooPASSWORDGenerated at deploy
odooUSERPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Odoo with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Odoo. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy odoo --name my-odoo

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Applications templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.