Small express server to generate PDF using wkhtmltopdf
909
docker run -d --name pdf -p 8080:8080 adrianolsk/wkhtmltopdf
create a docker-compose.yml file with:
version: '2'
services:
pdf:
image: adrianolsk/wkhtmltopdf
restart: always
container_name: pdf
ports:
- '8080:8080'
environment:
PORT: '8080'
AWS_ACCESS_KEY_ID: 'YOUR_KEY'
AWS_SECRET_ACCESS_KEY: 'YOUR_SECRET'
BUCKET: 'your_bucket_name'
Generate a PDF file in the browser with the url:
Generate a PDF file with the url and download:
Generate a PDF file with the url send it to amazon s3:
Content type
Image
Digest
Size
149.9 MB
Last updated
about 9 years ago
docker pull adrianolsk/wkhtmltopdf