aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-06-27 21:25:36 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-08 09:03:13 +0200
commited28fe7b677e442124e93825fefb94ba0c187a26 (patch)
tree0ed767cd53451dadf7ceac14272b81c04f2092a2
parentb3b131a172bb66fa97146edb1ea83923339b364a (diff)
downloadinfra-ed28fe7b677e442124e93825fefb94ba0c187a26.tar.gz
infra-ed28fe7b677e442124e93825fefb94ba0c187a26.tar.bz2
infra-ed28fe7b677e442124e93825fefb94ba0c187a26.tar.xz
infra-ed28fe7b677e442124e93825fefb94ba0c187a26.zip
odoo: Adding mounts, email and workers.
-rw-r--r--ansible/odoo/odoo.yml7
1 files changed, 6 insertions, 1 deletions
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