wkhtmltopdf
evansadji opened this issue · comments
wkhtml2pdf needs to be updated, it still doesn't display the right way... like a missing logo, box etc...
is there a way of adding appropriate wkhtmltopdf in docker ?
Hi @evansadji ,
Adding report.url with value "http://127.0.0.1:8069" to system parameters fixes the issue for me (missing logo, box).
In production server, beside adding report.url we should add web.base.url.freeze = True to prevent changing web.base.url
If you want to update wkhtml2pdf or install additional package to docker container, please do the following steps:
- Uncomment the following line in docker-compose.yml
# - ./entrypoint.sh:/entrypoint.sh
- Modify entrypoint.sh by adding your custom installations
- Recreate the docker container
docker-compose down
docker-compose up -d