Skip to content

Deploy, start, stop and restart

All of these are at the top of the environment’s page: the Deploy button and the More menu next to it.

Press Deploy. A task drawer opens with the live log. A deploy:

  1. fetches the code of the environment’s branch, the addon repositories and the uploaded modules on the server;
  2. writes the environment’s files (docker-compose.yml, odoo.conf);
  3. creates the database, the first time only;
  4. starts Odoo;
  5. asks for Odoo’s login page through the server’s proxy. When it answers, the deploy is done.

Afterwards the Overview tab shows the commits that were deployed.

Changes made in Settings, Advanced or to the variables take effect at the next deploy.

Odoo modules whose code changed need an update inside Odoo.

  1. Open More and choose Deploy and update modules….
  2. In Modules to update, enter all, or module names separated by commas, for example sale,stock.
  3. Start the deploy.

Open More and choose Start, Stop or Restart. Each runs as a task. They are greyed out until the environment was deployed once.

More → Sync status reads what really runs on the server and corrects the status shown here. Use it if someone changed containers on the server by hand.

Developers can deploy dev and staging environments. Production needs an admin or the owner. Viewers can only look.