From ed28fe7b677e442124e93825fefb94ba0c187a26 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 27 Jun 2019 21:25:36 +0200 Subject: odoo: Adding mounts, email and workers. --- ansible/odoo/odoo.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ansible/odoo/odoo.yml b/ansible/odoo/odoo.yml index 0097294..e5425c6 100644 --- a/ansible/odoo/odoo.yml +++ b/ansible/odoo/odoo.yml @@ -21,8 +21,13 @@ -e USER=odoo \ -e PASSWORD=odoo \ -p 8069:8069 \ + --mount source=odoo-data,target=/var/lib/odoo \ + --mount source=odoo-extra-addons,target=/mnt/extra-addons \ --name odoo -t \ - odoo + odoo \ + --workers=5 \ + --email-from=odoo@trygvis.io \ + --smtp=172.17.0.1 [Install] WantedBy=multi-user.target -- cgit v1.2.3