Create an environment
An environment is a running Odoo of a project, on one of your servers, at its own address, with its own PostgreSQL database.
Create it
Section titled “Create it”- Open Environments and press New environment (or use the Environments tab of a project).
- Fill in the form (the fields are explained below).
- Press Create environment.
Nothing starts on the server yet: Deploy on the environment’s page does that.
Developers can create and deploy dev and staging environments. Production needs an admin or the owner.
The fields
Section titled “The fields”| Field | What it is |
|---|---|
| Project | The project this environment runs: its Odoo version and repositories |
| Server | The server it runs on. A server that is not prepared yet refuses the deploy |
| Name | Lowercase letters, digits and -, for example shop-staging |
| Type | dev, staging or production. It decides who may deploy it and which backup policy it follows |
| Branch | Empty: the branch of the project’s main repository |
| Address name | The first part of the platform address. Empty: the environment’s name, so shop-staging gets shop-staging.apps.sbx09.online |
| Resources | A preset, or Custom with your own CPU cores and Memory (MB) |
| PostgreSQL version | Empty: the usual one for the project’s Odoo version. It cannot change after the first deploy |
Resource presets
Section titled “Resource presets”Memory is for Odoo and PostgreSQL together.
| Preset | CPU cores | Memory |
|---|---|---|
| Minimal | 1 | 1 GB |
| Standard | 2 | 2 GB |
| Production | 2 | 4 GB |
| High performance | 4 | 8 GB |
| Custom | yours | yours, at least 512 MB |
To start from a ready-made set of values instead, use the Catalog.
The environment’s page
Section titled “The environment’s page”| Tab | What is there |
|---|---|
| Overview | Address, status, deployed commits, the image, first login to Odoo |
| Metrics | CPU and memory of its containers |
| Logs | Container logs, and running a command inside a container |
| History | Every task that ran for it, with its log |
| Domains | Your own domains |
| Backups | Its backups and its backup policy |
| Settings | Type, resources, branch, odoo.conf parameters, variables, the image, deleting |
| Advanced | PGTune, PgBouncer, Mailtest, Connect As, deploy on push, scheduled actions |
| Mailtest | The test inbox, when Mailtest is on |

