Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
hello, does it work for version 14? If I wanted to add third party modules, what would be the path to upload the files?
Can you please modify the demo to enclude how to add custom addons folder and where is the conf file of the odoo docker?
If you want to add custom or third party modules you must add the nex instructions to the above procedure:
$ mkdir ./odoo/addons
$ mkdir ./odoo/config
volumes:
- data:/var/lib/odoo
- ./config:/etc/odoo
- ./addons:/mnt/extra-addons
[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
auto_reload=True
That’s all. But you must consider that only with that, the modules under ./odoo/addons can’t have requeriments of extra python libraries (for that you must alter the image creation).
docker ps
docker cp custom_name docker_ContainerName_or_Id:/usr/lib/python3/dist-packages/odoo/addons
Todo bien pero al momento de instalar cerbot y recargar la pagina me sale el error 502, asi me quedo el archivo de nginx al instalar el certificado
server {
server_name domain.com;
access_log /var/log/nginx/odoo.access.log;
error_log /var/log/nginx/odoo.error.log;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://localhost:8069;
}
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = domain.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
listen [::]:80;
server_name domain.com;
return 404; # managed by Certbot
}
si pudieran ayudarme de favor
After many attempts to get Odoo installed using various tutorails this is the first one that actually worked. I have Odoo up and running. There is one issue I find that needs to be addressed.
Odoo itself still runs thinking the website is localhost:8069. When it creates a sitemap it does not use the correct domain name. I believe these lines in the odoo.conf for nginx are supposed to handle this but they don’t:
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto https;
In my research on this problem I have learned there is a flag that needs to be set in Odoo to let it know it is behind a proxy that needs to be in the Odoo Config. It is:
proxy_mode = 1 (I have also seen some people say this should be proxy_mode = TRUE)
Problem is I am not sure how to pass that variable to the docker image.
I have tried to put it in the .env file but in that file it does not allow whitespace so I shorten it to proxy_mode=1 but that doesnt work either. I went inside the docker image - there is an odoo.conf file in the /etc directory, I tried adding it there as well. No effect.
This problem also rears its head if you go to enable the Paypal payments module in your website. At the end of a paypal transaction, paypal returns the buyer to lcoalhost:8069 address.
Hoping someone has experienced this and found a solution ?? Help!