Update to 2023-07-25 10:00

This commit is contained in:
Daniel Berteaud
2023-07-25 10:00:20 +02:00
parent a46990279b
commit e033ed4f44
13 changed files with 22 additions and 17 deletions

View File

@@ -27,8 +27,8 @@ odoo_src_ip: []
# odoo_public_url: https://erp.domain.tld/
odoo_http_port: 8069
odoo_longpolling_port: 8072
odoo_ports: [ "{{ odoo_http_port }}", "{{ odoo_longpolling_port }}" ]
odoo_gevent_port: 8072
odoo_ports: [ "{{ odoo_http_port }}", "{{ odoo_gevent_port }}" ]
odoo_workers: 4
odoo_email: "{{ system_admin_email | default('admin' + ansible_domain ) }}"

View File

@@ -55,6 +55,7 @@
loop:
- phonenumbers
- python-jose
- flanker
tags: odoo
- name: Create the PostgreSQL role

View File

@@ -5,7 +5,7 @@ server {
root /usr/share/nginx;
location /websocket {
proxy_pass http://localhost:{{ odoo_longpolling_port }};
proxy_pass http://localhost:{{ odoo_gevent_port }};
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Host $host;

View File

@@ -8,7 +8,7 @@ addons_path = {{ odoo_root_dir }}/enterprise, {{ odoo_root_dir }}/app/odoo/addon
workers = {{ odoo_workers }}
max_cron_threads = 1
http_port = {{ odoo_http_port }}
longpolling_port = {{ odoo_longpolling_port }}
gevent_port = {{ odoo_gevent_port }}
email_from = {{ odoo_email }}
smtp_server = localhost
data_dir = {{ odoo_root_dir }}/data