I recently installed InvoiceNinja using docker
the
I can however hind the HTML Version of the file in,
/home/$username$/Docker/dockerfiles/docker/app/public/
runnning /Docker/dockerfiles]$ cat env | grep PHANTOM
shows:
PHANTOMJS_PDF_GENERATION=true
david
August 26, 2022, 7:27am
2
If you use the standard docker-compose file, the PDFs will be generated on our serverrs… what do you have for the .env var PDF_GENERATOR
here is a copy of the env file i have removed the app_key in this post
IN application vars
APP_URL=http://in.localhost.test:8003
APP_KEY=base64:**************************************
APP_DEBUG=true
REQUIRE_HTTPS=false
PHANTOMJS_PDF_GENERATION=true
PDF_GENERATOR=snappdf
TRUSTED_PROXIES=‘*’
QUEUE_CONNECTION=database
DB connection
DB_HOST=db
DB_PORT=3306
DB_DATABASE=ninja
DB_USERNAME=ninja
DB_PASSWORD=ninja
Create initial user
Default to these values if empty
IN_USER_EMAIL=admin@example
IN_PASSWORD=changeme!
IN_USER_EMAIL=
IN_PASSWORD=
Mail options
MAIL_MAILER=log
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=‘user@example’
MAIL_FROM_NAME=‘Self Hosted User’
MySQL
MYSQL_ROOT_PASSWORD=ninjaAdm1nPassword
MYSQL_USER=ninja
MYSQL_PASSWORD=ninja
MYSQL_DATABASE=ninja
V4 env vars
DB_STRICT=false
APP_CIPHER=AES-256-CBC
david
August 26, 2022, 8:04am
4
Generowicz:
PDF_GENERATOR=snappdf
you could try changing that block to
PDF_GENERATOR=hosted_ninja
david:
hosted_ninja
its still not generating on the local docker web page.
but atleast i can now download it
Thanks.
i am just testing the application for now and will but a license when my company is set up