Sign inSign up

devbro1/url_to_pdf

By devbro1

•Updated over 2 years ago

simple docker image to convert a given url to pdf

Image
Web servers
0

740

devbro1/url_to_pdf repository overview

an updated version of https://hub.docker.com/r/anthonylau/url-to-pdf-api⁠

source code can be found at https://github.com/devbro1/url-to-pdf-api⁠

changes:

  • updated puppeteer
  • using ghcr.io/puppeteer/puppeteer:latest as base image

available ENV variables:

  • BASE_URL: base url to be added to all urls, good for when you are behing a load balancer
  • PORT: port
  • NODE_ENV: defined env, production or development
  • ALLOW_HTTP: to allow http otherwise only allows https
  • DEBUG_MODE: ????
  • DISABLE_HTML_INPUT: ????
  • CORS_ORIGIN: allowed cors list
  • BROWSER_WS_ENDPOINT: ????
  • BROWSER_EXECUTABLE_PATH: ????
  • API_TOKENS: allowed x-api-key header values to use this docker image, must be comma separated
  • ALLOW_URLS: ???

Tag summary

Content type

Image

Digest

sha256:eff5bd06e…

Size

994.8 MB

Last updated

over 2 years ago

docker pull devbro1/url_to_pdf