bitcrowd / chromic_pdf

Convenient HTML to PDF/A rendering library for Elixir based on Chrome & Ghostscript
Apache License 2.0
409 stars 37 forks source link

Is it possible to use the service name instead of an ip address when use chrome_address? #269

Closed Binsect closed 1 year ago

Binsect commented 1 year ago

when orchestrating multiple services using docker, using the service name instead of an ip address will prompt this error message: Host header is specified and is not an IP address or localhost.

Is it possible to use the service name instead of an ip address when use chrome_address?

Binsect commented 1 year ago

DNS.resolve(service_name)