Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Run wkhtmltopdf under docker

by
ForgeFlow, S.L., Jordi Ballester Alomar
- 12/04/2017 15:12:06
Thanks. The idea is not (yet) to completely dockerize odoo. 

Instead, we want to independize the serivce provided by wkhtmltopdf 0.12.1 from the platform in which odoo runs.

As we all know, 0.12.1 is very old, but it is the only one that works for odoo.

I was thinking that you should be able to create a bash with the name 'wkhtmltopdf' and put it in /usr/local/bin.

When odoo calls 'wkhtmltopdf' it will invoke the bash script, which will call the docker to provide the service.


On Apr 12, 2017 2:23 PM, "Benoît Vézina" <benoit@vezina.biz> wrote:
Using docker all time for Odoo, did not get any issue just be sure to 
set report.url to http://127.0.0.1:8069

are you using the official Odoo docker or did you make you own.

Le 2017-04-12 à 03:53, Jordi Ballester Alomar a écrit :
> Hi! Has anyone attempted to run wkhtmltopdf under a docker container 
> (separate from odoo).
>
> We are struggling to install normal.wkhtmltopdf 0.12.1 in debian 
> stretch, and docker seems so much easier in principle.
>
> _______________________________________________
> Mailing-List: https://odoo-community.org/groups/contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: https://odoo-community.org/groups?unsubscribe
>

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference