I’ve tried both ways currently on the chromium, I’m using the docker-compose file provided, so I’m not 100% where the env file is as it’s not in the docker instructions.
I’d have thought that the chromium binaries are part of the docker images pulled as part of the docker-compose up command? Or do I need it on my host system?
EDIT: Removing the quotes from the line:
SNAPPDF_EXECUTABLE_PATH=/usr/bin/chromium-browser
Within the docker-compose.yaml file worked a treat and now it’s all working
I’ve been confused about the .env file too with docker-compose. The idea is this:
#1. Don’t use any “environment” statements in your docker-compose.yml file. I had started using them, and I just copied them - eventually to be added to the .env file. #2. In your docker-compose.yml under the invoiceninja “app” section include a reference to “env file: .env”
#3. So, with that, you create the actual file, and it’s supposed to go in the same directory as your docker-compose.yml file. For me, I had done the git clone of “dockerfles,” so my .env file is in that folder on the server.
#4. As to what the .env looks like, here’s the example provided with the InvoiceNinja binaries. You just place that in the .env and edit to suit your environment and then do docker compose up - all of those environment variables will populate into your container and update from there.