InvoicePlane in a Docker container - custom templates

InvoicePlane 1.7.2
Docker 29.1.3

I am contemplating moving my InvoicePlane instances off the hosted server they are currently on, and running them from a Docker container on a USB drive. I am using the funktionslust/invoiceplane:latest image. Possibly my question(s) are better aimed at the image maintainer, but here I am.

To this end I have 1.7.2 configured and running. And I have restored and upgraded one of my production databases for testing. And all appears to be as it should be.

I’m currently stuck trying to get some custom invoice templates installed.

I am aware that 1.7.2 has at least one new environment variable that need to be configured - CUSTOM_INVOICE_TEMPLATES_PDF.

And I’m also imagining that somehow Docker needs to know where the custom templates reside outside the container.

I’m looking at docker-entrypoint.sh that is part of the image, and cannot see this variable being processed, or anything else that looks like it would be involved with custom templates. Reading the Docker log output by this file tends to support this.

I’m a newbie when it comes to Docker. And have no idea how, or even if it is possible, to write my template files into the image directory structure. And I suspect that even if I could, I’d still be stuck trying to get the environment variables set.

I’ve spent some time searching the web. And have allowed myself to be sucked into an AI rabbit warren - which has been a bit of a time sink :slight_smile: And while I’ve learned some stuff about docker, I haven’t really got anywhere as far as this issue goes.

Can anyone point me in the right direction?